Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nikic/PHP-Parser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v5.5.0
Choose a base ref
...
head repository: nikic/PHP-Parser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v5.6.0
Choose a head ref
  • 14 commits
  • 29 files changed
  • 5 contributors

Commits on Jun 1, 2025

  1. Configuration menu
    Copy the full SHA
    acf8f5e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7fc3bcf View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2025

  1. Configuration menu
    Copy the full SHA
    8ab65b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2025

  1. Configuration menu
    Copy the full SHA
    dc47765 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2025

  1. feat: add CallLike::getArg() method (#1089)

    This method returns the named argument that matches the given `$name`,
    or the positional (unnamed) argument that exists at the given `$position`,
    otherwise, returns `null` for first-class callables or if no match is found.
    calebdw authored Jul 19, 2025
    Configuration menu
    Copy the full SHA
    66d5018 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2025

  1. Configuration menu
    Copy the full SHA
    c1f6c4c View commit details
    Browse the repository at this point in the history
  2. Add support for pipe operator

    nikic committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    b815a16 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3e74153 View commit details
    Browse the repository at this point in the history
  4. Add support for void cast

    We model this as an expression, just like all the other casts, even
    though PHP treats (void) specially and makes it a statement. However,
    it has a peculiar carve-out where (void) *is* allowed in for init
    and loop expression lists (which only accept expressions, not
    statements). As such, we need to model it as an expression.
    nikic committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    507fa76 View commit details
    Browse the repository at this point in the history
  5. Remove use of E_STRICT in test runner

    This is deprecated in PHP 8.4.
    nikic committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    c5216ac View commit details
    Browse the repository at this point in the history
  6. Exclude one clone php-src test

    clone($x, ) will parse as a function call, but be printed as
    clone($x), which parses as a clone expression. The difference is
    harmless.
    nikic committed Jul 20, 2025
    Configuration menu
    Copy the full SHA
    7c4f7ca View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c724dde View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2025

  1. Configuration menu
    Copy the full SHA
    3b8d8ab View commit details
    Browse the repository at this point in the history
  2. Release PHP-Parser 5.6.0

    nikic committed Jul 27, 2025
    Configuration menu
    Copy the full SHA
    221b0d0 View commit details
    Browse the repository at this point in the history
Loading