Dump function for when there\'s no xDebug present.


/ Published in: PHP
Save to your folder(s)

For when xDebug is not enabled and you want to echo/dump a variable.

Shorter than:
<pre> var_dump($something); exit;</pre>
if you use the $exit argument.

Also shorter than:
<pre>echo "&lt;pre&gt;"; var_dump($something); echo "&lt;/pre&gt;"; exit;</pre>
too.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.