php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6010 DOM XML: parent of the root node?
Submitted: 2000-08-07 18:02 UTC Modified: 2000-10-02 23:04 UTC
From: davidat at 333grup3 dot es Assigned:
Status: Closed Package: DOM XML related
PHP Version: 4.0.1pl2 OS: Linux 2.2.14
Private report: No CVE-ID: None
 [2000-08-07 18:02 UTC] davidat at 333grup3 dot es
Ok. Try this.

$doc = xmldocfile( $myFile );
$root = $doc->root();
$parent = $root->parent();

This produces a beautiful segmentation fault.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-06 16:36 UTC] sniper@php.net
Please include a gdb backtrace here. For info how to get a backtrace see:

http://bugs.php.net/bugs-generating-backtrace.php

--Jani
 [2000-10-02 23:04 UTC] sniper@php.net
No feedback. If problem still exists when using php4.0.3 (released real soon now) reopen this bug report with
shortest possible XML-file to reproduce this problem.

--Jani
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC