ID:               38813
 Updated by:       [EMAIL PROTECTED]
 Reported By:      ladislav dot prosek at matfyz dot cz
-Status:           Open
+Status:           Assigned
 Bug Type:         DOM XML related
 Operating System: Windows XP SP2 Pro
 PHP Version:      5.1.6
-Assigned To:      
+Assigned To:      rrichards


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

[2006-09-13 16:38:05] ladislav dot prosek at matfyz dot cz

Correcting the summary (crashed -> crashes).

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

[2006-09-13 16:35:17] ladislav dot prosek at matfyz dot cz

Description:
------------
DOM XML classes contain __construct methods that behave in a quite
unexpected way. You can call the constructor explicitly ending up with
a broken object (e.g. "Couldn't fetch DOMAttr. Node no longer exists"
whenever you access a method/property of the object).

Nevertheless, the constructor of DOMEntityReference, which is the
subject of this report, is broken completely.

Reproduce code:
---------------
<?
  $ent = new DOMEntityReference("a");
  $ent->__construct("b");
?>

Expected result:
----------------
You decide :)

Actual result:
--------------
* CRASH *


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


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

Reply via email to