#24046 [Opn->Fbk]: document_element() broken in 4.3.2
| From: | sniper@php.net | Date: | Fri, 06 Jun 2003 05:53:52 +0000 |
| Subject: | #24046 [Opn->Fbk]: document_element() broken in 4.3.2 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41308@lists.php.net to get a copy of this message | ||
ID: 24046
Updated by: sniper@php.net
Reported By: robert at entrinix dot com
-Status: Open
+Status: Feedback
Bug Type: DOM XML related
Operating System: Linux
PHP Version: 4.3.2
New Comment:
Please provide a short but COMPLETE example script
which can be just copied and pasted from this report and run..
Previous Comments:
------------------------------------------------------------------------
[2003-06-05 11:46:14] robert at entrinix dot com
Using the following code in 4.3.0-4.3.1 works,
# Start reading the XML response.
$xml = domxml_open_mem($xml_response);
$root = $xml->document_element();
However, the *exact* same code, compiled with the exact same flags in
4.3.2 results in:
Fatal error: Call to a member function on a non-object in
/data/websites/client on line 74, line 74 being:
"$root = $xml->document_element();"
Roll back to 4.3.1, and it works fine.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=24046&edit=1