From: memoimyself at yahoo dot com dot br
Operating system: Windows 2000 SP 4
PHP version: 5.0.0RC1
PHP Bug Type: DOM XML related
Bug description: "Call to undefined function" errors
Description:
------------
I noticed that "php_domxml" is no longer an option in the extensions
section of php.ini, so I assume that DOM XML is now bundled with PHP5. As
a matter of course, phpinfo() tells me that DOM/XML is enabled and that
the version of libxml is 2.5.11.
However, when trying to use domxml_version(), domxml_new_doc(),
domxml_open_mem(), or any other DOM XML function, I get a "call to
undefined function" error. If these functions now have new names, they're
not listed in the online documentation.
I have checked the new php.ini file to make sure that it points to valid
paths (e.g. extension_dir = "C:\PHP\ext\") and everything's fine.
The extensions directory is there and is pointed to correctly by php.ini;
all PHP files are in c:\php and the sub-directories are exactly the same
as in the distribution package; httpd.conf has been properly edited (and
in fact Apache issues no error messages); my system path variable contains
c:\php. What's going on?
Reproduce code:
---------------
print domxml_version();
$xmldoc = domxml_new_doc('1.0');
$xmldoc = domxml_open_mem('<?xml version="1.0"?><root>test</root>');
Expected result:
----------------
Functions should at least be recognized.
Actual result:
--------------
"Call to undefined function" errors.
--
Edit bug report at http://bugs.php.net/?id=27660&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27660&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27660&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=27660&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=27660&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=27660&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=27660&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=27660&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=27660&r=support
Expected behavior: http://bugs.php.net/fix.php?id=27660&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=27660&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=27660&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=27660&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27660&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=27660&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=27660&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=27660&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27660&r=float