ID:               28699
 User updated by:  D dot Kingma at jool dot nl
 Reported By:      D dot Kingma at jool dot nl
 Status:           Open
-Bug Type:         Unknown/Other Function
+Bug Type:         Zend Engine 2 problem
 Operating System: Windows XP
 PHP Version:      5.0.0RC2
 New Comment:

changed category to 'Zend engine 2 problem'


Previous Comments:
------------------------------------------------------------------------

[2004-06-08 22:23:49] D dot Kingma at jool dot nl

There is also another small bug: When the comment above a method starts
with '/** ' (notice the space at the end) the getDocComments() function
will return an empty string. When you remove the trailing space, all
works fine.

And finally a small functionality request: please add the
getDocComments() function to the reflectionProperty class, since the
description of the var with the @var tag is also a well known
functionality of packages like javadoc/phpdoc and it would come in
handy if you cannot only get te description of methods, classes and
functions but also the defined properties of the class.

Thnx
David

------------------------------------------------------------------------

[2004-06-08 17:59:54] D dot Kingma at jool dot nl

Description:
------------
I came across a bug in the reflection api. When a class has a property
in capitals and you use the getProperties function from the
reflectionClass class all works fine, you get an array with
reflectionProperty object. But when you try to get the property
manually it fails, throwing an ReflectionException saying it is not a
property of that class (also when as a parameter tot the
reflectionproperty class i give the name attribute of the
reflectionproperty object given from the getProperties method).



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=28699&edit=1

Reply via email to