Skip to content

Take advantage of PHP 8.4+ native CSS selectors #6830

Description

@Alkarex

https://wiki.php.net/rfc/dom_additions_84
Change our current CSS selector code (to filter content) to take advantage of PHP 8.4+ querySelectorAll() function.

Test for availability of querySelectorAll() and if available, use it instead of our code based on PhpGt/CssXPath (keep it as fallback as long as we support PHP 8.3-).

Activity

  1. added
    Good first issue 1️⃣
    on Sep 24, 2024
  2. added this to the 1.25.0 milestone on Sep 24, 2024
  3. added
    php
    on Sep 24, 2024
  4. modified the milestones: 1.25.0, 1.26.0 on Sep 24, 2024
  5. Frenzie commented on Dec 10, 2024

    @Frenzie
    Member

    Looks nice.

    As an aside, I just upgraded from severely outdated Debian 9 (with custom 8.1.6 to keep things running) to Debian 12 (with 8.2.26).

  6. Alkarex commented on Jan 23, 2025

    @Alkarex
    MemberAuthor

    Debian 13 Trixie should ship PHP 8.4 https://packages.debian.org/trixie/php so later this year, both our Debian and Alpine Docker images should run PHP 8.4.

  7. modified the milestones: 1.26.0, 1.27.0 on Feb 6, 2025
  8. modified the milestones: 1.27.0, 1.28.0 on Aug 18, 2025
  9. modified the milestones: 1.28.0, 1.29.0 on Dec 16, 2025
  10. modified the milestones: 1.29.0, 1.30.0 on May 3, 2026
  11. added
    System care
    on Jul 21, 2026
  12. modified the milestones: 1.30.0, 1.31.0 on Sep 8, 2026
  13. modified the milestones: 1.31.0, 1.32.0 on Nov 9, 2026
  14. Alkarex commented on Nov 15, 2026

    @Alkarex
    MemberAuthor
  15. modified the milestones: 1.32.0, 1.31.0 on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issue 1️⃣System careWeb Scrapinghelp wantedphp

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions