ID:               49647
 Updated by:       j...@php.net
 Reported By:      ashn...@php.net
-Status:           Open
+Status:           Feedback
 Bug Type:         Reflection related
 Operating System: Linux
 PHP Version:      5.3.0
 New Comment:

Is ext/dom enabled in your build? And loaded? :)


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

[2009-09-23 22:00:48] ashn...@php.net

Description:
------------
Reflection actitivy against a child of DOMElement can result in:

"ReflectionException: Class DOMUserData does not exist"

presumably due to dom_node_get_user_data in ext/dom/node.c.

The actual class does not appear to exist, although the method shows it
as a datatype for a parameter.

Reproduce code:
---------------
<?php
$r2 = new ReflectionClass('DOMUserData');
echo r2->getName();
?>


Expected result:
----------------
DOMUserData

Actual result:
--------------
ReflectionException: Class DOMUserData does not exist


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


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

Reply via email to