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
php-src registers two names per API for historical compatibility:
Canonical (PHP 5+)
Legacy alias
stream_wrapper_register()
stream_register_wrapper()
stream_wrapper_unregister()
stream_wrapper_unregister()
#3383 tracks canonical registration + user wrappers, but legacy aliases are also required for framework code and php-src tests. Verified 2026-06-06 — both canonical and alias missing today:
./script/docker-exec.sh -- bash -lc 'source script/php-env.sh && php bin/vm.php -r "foreach ([\"stream_wrapper_register\",\"stream_register_wrapper\",\"stream_wrapper_unregister\",\"stream_wrapper_unregister\"] as \$f) { echo \$f, \"=\", function_exists(\$f)?\"y\":\"n\", PHP_EOL;}"'# all n
function_exists('stream_register_wrapper') → true on VM (delegates to stream_wrapper_register())
./vendor/bin/phpunit --filter stream_wrapper_register test/compliance/VMTest.php → OK (1 test)
Note: canonical stream_wrapper_unregister() was already registered (#3383/#7924); only the stream_register_wrapper legacy alias was missing from php-src PHP_FALIAS parity.
Activity
PurHur commentedon Jun 10, 2026
claim: PHP Compiler STD Lib — starting this run
Register stream_register_wrapper() legacy alias for stream_wrapper_re…
PurHur commentedon Jun 10, 2026
Merged in #7927.
Verification:
function_exists('stream_register_wrapper')→ true on VM (delegates tostream_wrapper_register())./vendor/bin/phpunit --filter stream_wrapper_register test/compliance/VMTest.php→ OK (1 test)Note: canonical
stream_wrapper_unregister()was already registered (#3383/#7924); only thestream_register_wrapperlegacy alias was missing from php-src PHP_FALIAS parity.