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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 08:01:30 2024 UTC