var_export() and arrays
| From: | Sebastian Bergmann | Date: | Wed, 04 Sep 2002 05:32:03 +0000 |
| Subject: | var_export() and arrays | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-87884@lists.php.net to get a copy of this message | ||
<?php
$array = array('foo', 'bar');
var_export($array);
?>
prints
array (
0 => 'foo',
1 => 'bar',
)
The comma after 'bar' is superfluous.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/