ID: 37923
Updated by: [EMAIL PROTECTED]
Reported By: hannes dot magnusson at gmail dot com
-Status: Open
+Status: Assigned
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 5CVS-2006-06-27 (CVS)
-Assigned To:
+Assigned To: johannes
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