note 48893 added to ref.array

From: Date: Tue, 11 Jan 2005 11:26:53 +0000
Subject: note 48893 added to ref.array
Groups: php.notes 
Request: Send a blank email to php-notes+get-83068@lists.php.net to get a copy of this message
I use to print arrays using the following function: <?php function __pre($my_list) { echo "<pre>"; print_r($my_list); echo "</pre>"; } ?> This is a simple way to show array contents in arrays, associative arrays, multidimensional arrays... __pre function should be used only for debugging purposes. Note that two underscore in __pre brings an easy way to find a call in a large amount of code when searching. ---- Manual Page -- http://www.php.net/manual/en/ref.array.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+48893 Delete -- http://master.php.net/manage/user-notes.php?action=delete+48893&report=yes Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48893&report=yes&reason=bad+code Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48893&report=yes&reason=spam Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48893&report=yes&reason=useless+example Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48893&report=yes&reason=contains+commercial+links Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48893&report=yes&reason=useless+note Reject -- http://master.php.net/manage/user-notes.php?action=reject+48893&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#83068) next »