Formated Var_dump


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

Just a custom function i use to have formated var_dump while debugging


Copy this code and paste it in your HTML
  1. function vardump($data)
  2. {
  3. echo '<pre>';
  4. var_dump($data);
  5. echo '</pre>';
  6. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.