php var_dump more readable 1

php var_dump more readable

echo "
";
print_r($some_var);
echo "

";
Here is what the above code is Doing:
1. We’re creating a variable called $some_var and assigning it a value of “Hello World!”
2. We’re using the print_r() function to print the value of $some_var to the screen.
3. We’re using the pre tag to make the output look a little nicer.

Similar Posts