|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #53943 implement [document|element].querySelector[All]
Submitted: 2011-02-06 22:58 UTC Modified: 2011-02-07 07:01 UTC
Avg. Score:3.7 ± 1.9
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: giorgio dot liscio at email dot it Assigned:
Status: Wont fix Package: DOM XML related
PHP Version: 5.3.5 OS: any
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.
Bug Type:
From: giorgio dot liscio at email dot it
New email:
PHP Version: OS:


 [2011-02-06 22:58 UTC] giorgio dot liscio at email dot it
hi, it is needed to have the possibility to select elements with a -faster- and easier way

thank you


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-02-07 02:51 UTC]
XPath and SimpleXML aren't fast or easy enough?
 [2011-02-07 07:01 UTC]
-Status: Open +Status: Wont fix
 [2011-02-07 07:01 UTC]
Unless and until libxml2 supports the selectors API directly, I don't
think there's much point trying to handle this in PHP. At any rate, it
should be possible to create a userland library that parses CSS
selectors and turns them into XPath calls: in fact, I believe this is
what phpQuery does already.

This could be reopened if libxml2 implements support for the API, but
for now, I think this is best closed Won't Fix in favour of this being
better suited to a userland solution.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 19 17:01:33 2024 UTC