Summary
Two related pre-existing segfaults (rc=139) in the compiler process itself, both surviving #16564 (verified identical with and without it):
./phpc build on:
<?php
$x = null; echo ++$x, "|"; $y = null; $y--; var_dump($y);
crashes the compiler (no diagnostics, core dump). VM output is correct (1|NULL).
vendor/bin/phpunit --filter 'FunctionStatic|TypedFunctionStatic' segfaults mid-suite in the pinned container (after the static_closure_init cases).
Environment
php-compiler:22.04-dev (PHP 8.2.31 + LLVM 9 FFI).
Notes
- Likely the same underlying crash in ++/-- lowering via FFI (both paths exercise incdec on null/boxed operands).
- Blocks trusting the FunctionStatic phpunit battery as a gate; targeted per-test runs pass.
Done when
🤖 Generated with Claude Code
Summary
Two related pre-existing segfaults (rc=139) in the compiler process itself, both surviving #16564 (verified identical with and without it):
./phpc buildon:crashes the compiler (no diagnostics, core dump). VM output is correct (
1|NULL).vendor/bin/phpunit --filter 'FunctionStatic|TypedFunctionStatic'segfaults mid-suite in the pinned container (after the static_closure_init cases).Environment
php-compiler:22.04-dev (PHP 8.2.31 + LLVM 9 FFI).
Notes
Done when
1|NULL)🤖 Generated with Claude Code