note modified in by zak
| From: | zak@php.net | Date: | Wed, 11 Jul 2001 09:41:13 +0000 |
| Subject: | note modified in by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15214@lists.php.net to get a copy of this message | ||
[Editor's Note:
print_r() is now documented. Also check out var_dump() - it is similar, but provides additional
information on variable types.
--zak@php.net]
There is a nice undocumented function in PHP 4 only called print_r(), which will return all of the
values of an array.
echo '<pre>'; print_r($array); echo '</pre>';
http://www.php.net/manual/en/.php