From:             robert at entrinix dot com
Operating system: Linux
PHP version:      4.3.2
PHP Bug Type:     Reproducible crash
Bug description:  document_element() broken in 4.3.2

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 bug report at http://bugs.php.net/?id=24046&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24046&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24046&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24046&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24046&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24046&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24046&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24046&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24046&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24046&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24046&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24046&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24046&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24046&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24046&r=gnused

Reply via email to