Different between the var_dump() and print_r()?

Answer Posted / nagachowdary

var_dump() prints values and it's datatypes.in case of
print_r() it will print only values

Is This Answer Correct ?    23 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main error types in php?

746


Describe which programming language does php parallel to?

683


What are the uses of explode() and implode() functions?

737


Where to put php files in apache server?

698


Tell me how to set a page as a home page in a php based site?

689


What is php destruct?

717


How big is varchar max?

767


What is xss in php?

756


When should you use a stored procedure?

695


How to get the number of characters in a string?

765


Are php session secure?

755


What is url encoding and decoding in php?

770


Explain how is it possible to set an infinite execution time for php script?

699


What is difference between array_merge and array_combine in php?

708


What is session expiry?

712