adspace


What is use of print_r () and dump () functions?

Answer Posted / Ravi Singh Rana

print_r() and dump() are PHP functions used for debugging purposes. print_r() outputs data in a readable format, while dump() is an alias for die(var_dump()) that both outputs the data and stops further execution.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How much laravel experience do you have?

815


Do you know what version of laravel do you generally use?

839


Tell us have you used lumen before?

808


What is current stable version of laravel?

870


What is latest version of laravel?

869