Last active
August 14, 2017 14:23
-
-
Save mort3za/483c4cb43af30273b80c to your computer and use it in GitHub Desktop.
Better view/style for var_dump in php [Snippet for Atom editor]
This file contains 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
# snippet for Atom editor: | |
'.source.php': | |
'Styled var_dump': | |
'prefix': 'vardumper' | |
'body': 'echo "<pre style=\'word-spacing:15px; line-height:1.5; font-size:18px;\'>";var_dump($1);echo"</pre>";' | |
# output is this: | |
# echo "<pre style='word-spacing:15px; line-height:1.5; font-size:18px;'>";var_dump($request);echo"</pre>"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment