Different between the var_dump() and print_r()?

Answer Posted / kiran

var_dump also displays the variable type (int, string,
array, etc.) and "length".

Examples: http://marc.info/?l=php-general&m=98684689426976&w=2
__________________

Is This Answer Correct ?    19 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does csrf token mismatch mean?

879


What is sorting php?

689


How does firefox manage cookies?

746


Explain some most commonly use string functions in php?

679


What is the scope of a variable defined outside a function?

706


Explain about require and include function?

741


What is difference between require_once(), require(), include()?

687


What is the difference between abstract class and interface in php?

724


Explain me what is the difference between explode() and split() functions?

746


What is properties of class?

778


What is T_PAAMAYIM_NEKUDOTAYIM?

862


What is the difference between md5(), crc32() and sha1() crypto on php?

823


What is the difference between exception::getmessage and exception::getline?

725


What is php stack?

699


Can I include php in javascript?

802