How to print arrays in PHP for debugging?
Question ID: 5
I need to display the contents of a PHP array for debugging purposes. I want to see the structure and values clearly formatted. My array looks like this: $array = array('red', 'pink', 'blue', 'white...
1 Answer
216 Views
22 Votes
shama-naaz
Asked by Shama Naaz
3 years ago