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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 21:01:27 2024 UTC