PHP 4.0 Bug #7681 Updated: Syntax error in list ignored.
| From: | stas@php.net | Date: | Tue, 07 Nov 2000 16:42:42 +0000 |
| Subject: | PHP 4.0 Bug #7681 Updated: Syntax error in list ignored. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37363@lists.php.net to get a copy of this message | ||
ID: 7681
Updated by: stas
Reported By: sven@devcon.net
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
And what's bad it it? It's just a convenience feature, so that you could easily copy-paste
list elements without worrying which one is the last.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-07 16:32:51] sven@devcon.net
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.
);
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7681