Edit report at https://bugs.php.net/bug.php?id=50816&edit=1
ID: 50816
Updated by: dmitry@php.net
Reported by: spasic dot dejan at yahoo dot de
Summary: Using class constants in array definition fails
(works in PHP_5_2)
-Status: Verified
+Status: Closed
Type: Bug
Package: Scripting Engine problem
Operating System: *
PHP Version: 5.3, 6
Assigned To: dmitry
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2011-08-01 11:21:22] dmitry@php.net
Automatic comment from SVN on behalf of dmitry
Revision: http://svn.php.net/viewvc/?view=revision&revision=314013
Log: Fixed bug #50816 (Using class constants in array definition fails).
------------------------------------------------------------------------
[2011-07-30 16:37:01] laruence@php.net
after have a conversation with pierrick , we decided that the patch "50816-2.diff
" is the patch to apply if it's ok.
sorry for multi-submitted patches.
------------------------------------------------------------------------
[2011-07-30 16:06:27] laruence@php.net
The following patch has been added/updated:
Patch Name: bug50816.patch
Revision: 1312041987
URL: https://bugs.php.net/patch-display.php?bug=50816&patch=bug50816.patch&revision=1312041987
------------------------------------------------------------------------
[2011-07-30 15:41:20] laruence@php.net
I use ht->pListHead to traverse the elements in array , to find out who come
first.
that should make the code more clearly.
patch submitted.
------------------------------------------------------------------------
[2011-07-30 15:24:43] laruence@php.net
The following patch has been added/updated:
Patch Name: bug50816.patch
Revision: 1312039483
URL: https://bugs.php.net/patch-display.php?bug=50816&patch=bug50816.patch&revision=1312039483
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=50816--
Edit this bug report at https://bugs.php.net/bug.php?id=50816&edit=1