Jump to content

var_dump?


eduard
 Share

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...