Re: [PHP-DEV] var_export() and arrays

2002-09-03 Thread Sebastian Bergmann
[EMAIL PROTECTED] wrote: > It is, but removeing it would require quite a hack. I thought of fixing > that, but as Zend doesn't have problems with it, I decided that it > doesn't matter if there is a comma or not. Okay. -- Sebastian Bergmann http://sebastian-bergmann.de/ ht

Re: [PHP-DEV] var_export() and arrays

2002-09-03 Thread derick
On Wed, 4 Sep 2002, Sebastian Bergmann wrote: > $array = array('foo', 'bar'); > var_export($array); > ?> > > prints > > array ( > 0 => 'foo', > 1 => 'bar', > ) > > The comma after 'bar' is superfluous. It is, but removeing it would require quite a hack

[PHP-DEV] var_export() and arrays

2002-09-03 Thread Sebastian Bergmann
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/ -- PHP Dev