php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14584 $XPathObject->nodeset[0]->content is missing
Submitted: 2001-12-18 12:10 UTC Modified: 2001-12-18 17:39 UTC
From: liangyi11361 at yahoo dot com Assigned:
Status: Not a bug Package: DOM XML related
PHP Version: 4.1.0 OS: win nt 4.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: liangyi11361 at yahoo dot com
New email:
PHP Version: OS:

 

 [2001-12-18 12:10 UTC] liangyi11361 at yahoo dot com
This works in 4.0.6
But not in 4.1.0

$ctx= $doc->xpath_new_context();
$XPathObject= xpath_eval($ctx, "//*");
$XPathObject->nodeset[0]->content;  ---> content is missing



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-18 16:04 UTC] liangyi11361 at yahoo dot com
Look like the same as Bug id#14500
 [2001-12-18 17:39 UTC] mfischer@php.net
The syntax has changes. Try xmltree() on your document and view it with print_r() to see the relationship.

No bug -> bogus.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Thu Nov 14 18:01:35 2019 UTC