#32438 [NEW]: simplexml_import_dom() (and only it) note recognized

From: Date: Thu, 24 Mar 2005 00:21:50 +0000
Subject: #32438 [NEW]: simplexml_import_dom() (and only it) note recognized
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75789@lists.php.net to get a copy of this message
From: franp at free dot fr Operating system: FreeBSD 4.11 PHP version: 5.0.3 PHP Bug Type: SimpleXML related Bug description: simplexml_import_dom() (and only it) note recognized Description: ------------ While all simplexml functions are working fine, simplexml_import_dom just fails as if a non-existing function. Reproduce code: --------------- $doc = new DomDocument; $doc->preserveWhiteSpace = TRUE; $doc->loadXML($result); $s = simplexml_load_string($result); // pass $test = dom_import_simplexml($s); // pass $s = simplexml_import_dom($doc); // broken ! Expected result: ---------------- Was working with PHP 5.0.0. Apparently broke when passing to PHP 5.0.3. Actual result: -------------- Error code : Fatal error: Call to undefined function simplexml_import_dom() -- Edit bug report at http://bugs.php.net/?id=32438&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32438&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32438&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32438&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32438&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32438&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32438&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32438&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32438&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32438&r=support Expected behavior: http://bugs.php.net/fix.php?id=32438&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32438&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32438&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32438&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32438&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32438&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32438&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32438&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32438&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32438&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32438&r=mysqlcfg

« previous php.bugs (#75789) next »