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
Docker Zend 8.2 reference image has no ext-brotli (extension_loaded('brotli') false, brotli_compress() undefined). The VM advertises brotli as loaded and exposes compress/uncompress builtins unconditionally.
Activity
PurHur commentedon Jul 10, 2026
claim: cursor-agent-lane-b — starting this run
Stdlib: withhold brotli on 8.2 reference profile (#17563) (#17569)
PurHur commentedon Jul 10, 2026
Merged via #17569
Fix:
BrotliExtensionPolicy+CompilerVersion::supportsBrotli()(bz2 phantom pattern). Reference profile withholdsextension_loaded('brotli')andbrotli_*fromfunction_exists();PHP_COMPILER_PROFILE=8.4restores round-trip when libbrotli FFI is available.Verification:
```bash
./script/docker-exec.sh -- bash -lc 'export PHP_COMPILER_PROFILE=8.2
php bin/vm.php test/repro/maintainer_gap_brotli_phantom_extension.php'
ok
./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && vendor/bin/phpunit --filter brotli_phantom test/compliance/VMTest.php'
OK (1 test)
./script/docker-exec.sh -- bash -lc 'export PHP_COMPILER_PROFILE=8.4
source script/php-env.sh && vendor/bin/phpunit --filter brotli_roundtrip test/compliance/VMTest.php'
OK (1 test)
```