At 02:48 PM 9/4/2002 +0900, Yasuo Ohgaki wrote: >Sebastian Bergmann wrote: >> <?php >> $array = array('foo', 'bar'); >> var_export($array); >> ?> >> prints >> array ( >> 0 => 'foo', >> 1 => 'bar', >> ) >> The comma after 'bar' is superfluous. > >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)
C also allows the extra , exactly for the reason of auto-generated source files. Andi -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php