PHP 4.0 Bug #7681: Syntax error in list ignored.
| From: | sven at devcon dot net | Date: | Tue, 07 Nov 2000 15:32:52 +0000 |
| Subject: | PHP 4.0 Bug #7681: Syntax error in list ignored. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37357@lists.php.net to get a copy of this message | ||
From: sven@devcon.net
Operating system: freebsd
PHP version: 4.0.3pl1
PHP Bug Type: Scripting Engine problem
Bug description: Syntax error in list ignored.
The following piece of code works on php4 if you insert a
blank after the comma followed by a comment or a new line. It's ignored. php3 panics (like
supposed to be).
$default_document = array (
'CATEGORY' => 'l_category',
'PAGE' => 'l_page',
'PRODUCT' => 'l_product',
'CART' => 'l_cart',
'ORDER' => 'l_order', # This works.
);
--
Edit Bug report at: http://bugs.php.net/?id=7681&edit=1