Req #41670 [Com]: ReflectionProperty class in reflection api lacks getDefaultValue method

From: Date: Tue, 01 Jun 2010 00:37:34 +0000
Subject: Req #41670 [Com]: ReflectionProperty class in reflection api lacks getDefaultValue method
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-150974@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=41670&edit=1

 ID:          41670
 Comment by:  jonwage at gmail dot com
 Reported by: killgec at gmail dot com
 Summary:     ReflectionProperty class in reflection api lacks
              getDefaultValue method
 Status:      Open
 Type:        Feature/Change Request
 Package:     Feature/Change Request
 PHP Version: 5.2.3

 New Comment:

I could use this feature as well.


Previous Comments:
------------------------------------------------------------------------
[2009-05-06 08:35:47] no2spam at chello dot nl

This would be very useful for me. Especially for code generation

------------------------------------------------------------------------
[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/bug.php?id=41670&edit=1


Thread (6 messages)

« previous php.bugs (#150974) next »