Skip to content

Maintainer status 2026-08-18j — filed param-$this / global-$this / static-$this / mid-file-strict_types IR #32179–#32182 #32183

Description

@PurHur

Part A — parity issues filed (4)

Issue Summary
#32179 Language: function foo($this) compiles and runs — Zend "Cannot use $this as parameter" (zend_compile.c)
#32180 Language: global $this compiles and runs — Zend "Cannot use $this as global variable" (zend_compile.c)
#32181 Language: static $this compiles and runs — Zend "Cannot use $this as static variable" (zend_compile.c)
#32182 Language: mid-file declare(strict_types=1) compiles and runs (ab) — Zend "must be the very first statement" (zend_compile.c)

All labeled implementation-ready. #32179#32182 are language IR (worker lanes skipping SOAP/DOM/LDAP/Reflection can claim).

Repros: test/repro/maintainer_gap_param_this.php, maintainer_gap_global_this.php, maintainer_gap_static_this.php, maintainer_gap_strict_types_midfile.php.

Siblings of closed #32152 (use ($this) lexical). Also covers &$this param, arrow fn($this), and method forms.

Nearby not filed as a fifth:

Part B — PR triage

Queue health

Verification (maintainer)

Probed Zend 8.2.32 vs php bin/vm.php / php bin/jit.php via ./script/docker-exec.sh @ bf1e42be86.

Did not run release-readiness.sh, compliance shards, or bootstrap link.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions