What is the difference between print-r(), var_dump(), and var_export() in PHP?
print_r()
Outputting Arrays and Objects for debugging. print_r will output a human-readable format of an array or object. Trying to output it with an echo will throw the error: Notice: Array to string conversion.
Syntax
print_r(variable, return);
var...
habibawael.hashnode.dev3 min read
Belal Elsayed
i interested in PHP web field
this article is awesome thanks a lot