Skip to content

Instantly share code, notes, and snippets.

@lucasmezencio
Last active October 5, 2015 21:48
Show Gist options
  • Save lucasmezencio/2882342 to your computer and use it in GitHub Desktop.
Save lucasmezencio/2882342 to your computer and use it in GitHub Desktop.
PHP var_dump snippets
// PHP var_dump snippet for NetBeans
echo '<pre>';
die(var_dump(${VARIABLE variableFromPreviousAssignment default="$variable"}));
<!-- PHP var_dump snippet for Sublime Text 2 -->
<snippet>
<content><![CDATA[
${1:echo '<pre>';}
die(${2:var_dump(${3:\$var})});
]]></content>
<tabTrigger>dump</tabTrigger>
</snippet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment