ID: 10936
Updated by: lyric
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: Reproducible crash
Operating system:
PHP Version: 4.0.5
Assigned To:
Comments:
domxml has changed from children being a method to being a member. Try $children =
$root->children
Previous Comments:
---------------------------------------------------------------------------
[2001-05-17 13:21:56] [EMAIL PROTECTED]
I am running the latest Win32 binaries from the php.net download page. I am using the
ISAPI module on IIS5. In php.ini I enabled DOMXML by uncommenting the appropriate
line.
Calling the children function on a node that has a CDATA node as a child results in an
access violation. Here's a script that reproduces the problem:
$doc = xmldocfile('http://tbhbuilding.blogspot.com');
$root = $doc->root();
$children = $root->children();
$children = $children[1]->children();
print_r($children[1]->children());
I would have generated a gdb backtrace if the instructions for doing so explained how
to do it with the ISAPI module.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=10936&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]