#49647 [Opn->Fbk]: DOMUserData does not exist

From: Date: Thu, 24 Sep 2009 10:03:36 +0000
Subject: #49647 [Opn->Fbk]: DOMUserData does not exist
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-142810@lists.php.net to get a copy of this message
 ID:               49647
 Updated by:       jani@php.net
 Reported By:      ashnazg@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] ashnazg@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



Thread (6 messages)

« previous php.bugs (#142810) next »