---
title: "tree-sitter-php 0.25.1 Breaking Changes on PyPI | Since.dev"
description: "What each tree-sitter-php release removed, renamed or changed: 7 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/tree-sitter-php
last_updated: 2026-12-04
---

# tree-sitter-php breaking changes

tree-sitter-php 0.25.1 (October 6, 2026) is its newest release with breaking changes. The first: Regenerates the parser with ABI 15 and changes Array aliasing, a breaking commit in tree-sitter-php 0.25.1. Every breaking API change we have recorded in tree-sitter-php on PyPI: 7 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.25.2`, released November 19, 2026. [Source repository](https://github.com/tree-sitter/tree-sitter-php)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.23.0](#v-0-23-0) to [0.25.1](#v-0-25-1): 4 breaking changes in 2 versions.

## tree-sitter-php 0.25.1 breaking changes

tree-sitter-php 0.25.1, released October 6, 2026: 1 breaking change.

- **Behavior changed**  

The commit is marked as a breaking change (feat!) and regenerates the parser with ABI 15 and Array aliasing changes. Users of the parse tree may need to check code that depends on the previous output. [github.com](https://github.com/tree-sitter/tree-sitter-php/commit/1f301454d6ba71bb1ae2645abdf48b69b9a6c2fe)

## tree-sitter-php 0.24.1 breaking changes

tree-sitter-php 0.24.1, released August 16, 2025: 3 breaking changes.

- **Behavior changed**  

The grammar and queries now include a php_end_tag node, so code that matches on the parse tree or queries may need updating. [github.com](https://github.com/tree-sitter/tree-sitter-php/commit/43fbdd53c34a82d9a27c83f9798a2918b3dcd270)
- **Behavior changed**  

The parser now targets ABI 15 and the bindings were updated, so code that depends on the previous ABI or bindings may need changes. [github.com](https://github.com/tree-sitter/tree-sitter-php/commit/598905acfb3eec540b4db45e84ade63f29494d34)
- **Behavior changed**  

The parser now uses the new reserved rules API, which can change the parse tree shape that code relying on the old output depends on. [github.com](https://github.com/tree-sitter/tree-sitter-php/commit/33d700240cdde660412b19f406e922834d1ac4da)

## tree-sitter-php 0.23.0 breaking changes

tree-sitter-php 0.23.0, released August 28, 2024: 3 breaking changes.

- **Removed** `property_initializer`  

The property_initializer rule is removed from the grammar, so syntax trees no longer contain that node type. Code that matches on it must be updated. [github.com](https://github.com/tree-sitter/tree-sitter-php/commit/e0747984a9715915339cc11f3d30c4a8212172a1)
- **Behavior changed**  

The namespace grammar rules were reworked in a breaking change, so parse trees for namespace code may differ. Code that depends on their node shapes may need updating. [github.com](https://github.com/tree-sitter/tree-sitter-php/commit/4614ae076b3261d44bc2f2d37a6c391a2f08d53c)
- **Behavior changed**  

The anonymous function grammar rules were reworked in a breaking change, so parse trees for these constructs may differ. Code that depends on their node shapes may need updating. [github.com](https://github.com/tree-sitter/tree-sitter-php/commit/0d3959bbd404c91535c8f913586561094f41fe54)

## Related packages

- [tree-sitter](https://since.dev/packages/pypi/tree-sitter.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
