Re: var_export() and arrays
| From: | Yasuo Ohgaki | Date: | Wed, 04 Sep 2002 05:48:12 +0000 |
| Subject: | Re: var_export() and arrays | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-87888@lists.php.net to get a copy of this message | ||
Sebastian Bergmann wrote:
I agree, but it has been discussed recently. Derick added extra , since it should not harm any. (there are shell script languages accept extra , like this also) -- Yasuo Ohgaki<?php $array = array('foo', 'bar'); var_export($array); ?>printsarray ( 0 => 'foo', 1 => 'bar', )The comma after 'bar' is superfluous.