PHP 4.0 Bug #6010: DOM XML: parent of the root node?
| From: | davidat at 333grup3 dot es | Date: | Mon, 07 Aug 2000 22:02:30 +0000 |
| Subject: | PHP 4.0 Bug #6010: DOM XML: parent of the root node? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28051@lists.php.net to get a copy of this message | ||
From: davidat@333grup3.es
Operating system: Linux 2.2.14
PHP version: 4.0.1pl2
PHP Bug Type: Other
Bug description: DOM XML: parent of the root node?
Ok. Try this.
$doc = xmldocfile( $myFile );
$root = $doc->root();
$parent = $root->parent();
This produces a beautiful segmentation fault.