What will be the result of executing following code?
print_r("Hello World", true);
Explanation
print_r() displays information about a variable in a way that's readable by humans.
If you would like to capture the output of print_r(), use the return parameter. When this parameter is set to TRUE, print_r() will return the information rather than print it.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback