Posted By

joshuamilford on 02/11/10


Tagged

php object array debugging


Versions (?)

Gimme - display contents of an array or object


 / Published in: PHP
 

I include this in anything I'm developing, so I can easily inspect the contents of arrays and objects.

  1. function gimme($array){
  2. echo '
  3. <pre>';
  4. print_r($array);
  5. echo '
  6. </pre>';
  7. }

Report this snippet  

You need to login to post a comment.