Re: Re: var_export() and arrays
| From: | Andi Gutmans | Date: | Sun, 08 Sep 2002 15:27:47 +0000 |
| Subject: | Re: Re: var_export() and arrays | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88079@lists.php.net to get a copy of this message | ||
At 02:48 PM 9/4/2002 +0900, Yasuo Ohgaki wrote:
Sebastian Bergmann wrote:C also allows the extra , exactly for the reason of auto-generated source files. AndiI 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)<?php $array = array('foo', 'bar'); var_export($array); ?>printsarray ( 0 => 'foo', 1 => 'bar', )The comma after 'bar' is superfluous.