Created
July 11, 2020 10:20
-
-
Save nataliemarleny/60224127f50b564ef7c0af0b0be794ee to your computer and use it in GitHub Desktop.
Generalised structured var dump for php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function structured_var_dump($arr) { | |
return '<pre>' . var_export($arr, true) . '</pre>'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment