eduard Posted March 30, 2011 Share Posted March 30, 2011 Can someone explain to me ´var_dump´? I looked at it in the php manual, but I don´t understand it! Link to comment Share on other sites More sharing options...
jeffman Posted March 30, 2011 Share Posted March 30, 2011 When you are debugging a program, it is often useful to look at the values of your variables. For a string or a number, you can echo the value. An array or object is more complicated. Use var_dump to the the contents of an object or variable.Remember, this is for debugging. You will remove var_dump statements before your program is ready for visitors. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.