ID: 37923 Updated by: [EMAIL PROTECTED] Reported By: hannes dot magnusson at gmail dot com -Status: Assigned +Status: Closed Bug Type: Feature/Change Request Operating System: * PHP Version: 5CVS-2006-06-27 (CVS) Assigned To: johannes New Comment:
This bug has been fixed in CVS. 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/. Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2006-06-27 07:29:03] hannes dot magnusson at gmail dot com Description: ------------ Display the value of constants.. Reproduce code: --------------- php5$ sapi/cli/php --re standard | grep Constant php5$ sapi/cli/php -r 'class foo { const bar = 10; } reflectionclass::export("foo");' Expected result: ---------------- - Constants [282] { Constant [ integer CONNECTION_ABORTED ] { 1 } ... Class [ <user> class foo ] { @@ Command line code 1-1 - Constants [1] { Constant [ integer bar ] { 10 } } Actual result: -------------- - Constants [282] { Constant [ integer CONNECTION_ABORTED ] { } ... Class [ <user> class foo ] { @@ Command line code 1-1 - Constants [1] { Constant [ integer bar ] { } } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37923&edit=1
