Created
October 31, 2018 05:53
-
-
Save charleslouis/dbd3c2ec1b538ca553ffd7cd32472949 to your computer and use it in GitHub Desktop.
Une var_export() + colors instead of var_dum() for pretty dump
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
// src: https://stackoverflow.com/questions/19816438/make-var-dump-look-pretty | |
<?php | |
highlight_string("<?php\n\$item =\n" . var_export($item, true) . ";\n?>"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment