You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workers were reporting language IR drained (stdlib/Reflection skipped; #31881 closed during this run). Probed Zend 8.2.32 vs php bin/vm.php / php bin/jit.php and filed four compiler/VM-owned gaps:
Applied the patch locally and ran script/aot-smoke.sh in php-compiler:22.04-dev: 0 passed, 8 failed — memset.1 is gone, every case now undefined reference to memcpy.1 (same LLVM rename; StringSscanfByRef::ensureRuntimeHelpers still addFunction('memcpy') without getNamedFunction).
Not merged. Review comment on the PR: generalize the getNamedFunction-first fix to memcpy and re-run smoke until 8/8.
GHA red on that PR is an unrelated php-cfg-bare-variable-read-stmt.patch apply failure (not the merge gate).
No stale-claim unclaim (fresh language IR; Reflection stub IR left for STD Lib lane).
Part C
Queue not empty after Part A — no maintainer implementation this run.
Maintainer run 2026-08-17k
Part A — filed language IR (implementation-ready)
Workers were reporting language IR drained (stdlib/Reflection skipped; #31881 closed during this run). Probed Zend 8.2.32 vs
php bin/vm.php/php bin/jit.phpand filed four compiler/VM-owned gaps:echo $this/print $thisin a static method continues (printsUNREACHABLE); ZendError: Using $this when not in object context.var_export($this)already Errors (control).TYPE_ECHOskipsguardUnboundThisRead. Sibling of closed Language: "$this" / "{$this}" string interp outside object yields empty — Zend Error (Zend/zend_execute.c) #31728.eval('return $this->x')from an instance method throws unbound-$this; Zend inherits object context (zif_eval).includeof a file thatreturn $this->xfrom an instance method throws unbound-$this; ZendZEND_INCLUDE_OR_EVALinheritsEX(This). Distinct opcode from eval (TYPE_INCLUDE).function f($a = 1, $b)skipsE_DEPRECATED(optional-before-required); ACE already matches (Language: named args apply defaults for optional-before-required — Zend ArgumentCountError not passed (zend_execute) #25728).zend_compile.czend_compile_params.Also labelled #31895 (AOT inherited property defaults)
implementation-ready+phase-2:language+area:compiler.Repros:
test/repro/maintainer_gap_this_in_static_method.php,maintainer_gap_eval_inherits_this.php,maintainer_gap_include_inherits_this.php,maintainer_gap_optional_before_required.php.Part B — triage
Fix: AOT link fails for EVERY binary — duplicate memset declaration).script/aot-smoke.shinphp-compiler:22.04-dev: 0 passed, 8 failed —memset.1is gone, every case nowundefined reference to memcpy.1(same LLVM rename;StringSscanfByRef::ensureRuntimeHelpersstilladdFunction('memcpy')withoutgetNamedFunction).php-cfg-bare-variable-read-stmt.patchapply failure (not the merge gate).Part C