#41670 [Com]: ReflectionProperty class in reflection api lacks getDefaultValue method
| From: | no2spam at chello dot nl | Date: | Wed, 06 May 2009 08:35:48 +0000 |
| Subject: | #41670 [Com]: ReflectionProperty class in reflection api lacks getDefaultValue method | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-136822@lists.php.net to get a copy of this message | ||
ID: 41670
Comment by: no2spam at chello dot nl
Reported By: killgec at gmail dot com
Status: Open
Bug Type: Feature/Change Request
PHP Version: 5.2.3
New Comment:
This would be very useful for me. Especially for code generation
Previous Comments:
------------------------------------------------------------------------
[2007-06-12 11:45:45] killgec at gmail dot com
Description:
------------
ReflectionProperty class in reflection api lacks getDefaultValue
method.
So there is no way to find out if a property in a class examined with
reflection API has a default value, and what this value is.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41670&edit=1