0
var_dump() tells you a variable's type an its contents .More Than that, for complex types such as arrays and objects,var_dump() provides information about all the types contained within the variable, as well as about the variable itself.

 we can put var_dump() to the  test:

 $testing = 5;

 var_dump($testing);

 This fragment gives us the following result:

 int(5)
Notice that we did not need to print the result of var_ump(); this is because the function  prints its findings directly  to the browser or command line.


Post a Comment

 
check pagerank
Top