Gimme - display contents of an array or object


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

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


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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.