Re: var_export() from PHP 4.2.0?

From: Date: Sat, 24 Aug 2002 10:20:56 +0000
Subject: Re: var_export() from PHP 4.2.0?
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-87395@lists.php.net to get a copy of this message
Ok. Now I think find the motivation. Yasuo Ohgaki wrote: *SNIP*
array ( 0 => 1, 1 => 2, 2 => array (
    0 => 'a',
    1 => 'b',
    2 => 'c',
), )
There is a bug/flaw. Needless "," is appened to be valid PHP array expression, but it seems engine has been changed to accept needless "," at the end of definition. No wonder why I couldn't catch syntax error under my dev box and found out error in production box. I don't appreciate such change. -- Yasuo Ohgaki

« previous php.dev (#87395) next »