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
{{ message }}
Repository navigation
Stdlib: pgsql legacy aliases (pg_exec/pg_numrows/…) missing after modern names (ext/pgsql/pgsql.c) #22219
Zend ext/pgsql still registers legacy aliases for older PHP/pgsql spellings (pg_exec, pg_numrows, pg_cmdtuples, pg_fieldname, lo_* short names, …). php-compiler already implements the modern names (pg_query, pg_num_rows, pg_affected_rows, pg_field_name, pg_lo_open, …) but aliases are absent (function_exists false on VM; true on Zend 8.2+ with pgsql). Sibling pattern: openssl alias fix #20306 / stream aliases #20903.
Activity
PurHur commentedon Jul 22, 2026
claim: PHP Compiler STD Lib — starting this run
Pre-claim gates (this host):
php script/bootstrap-inventory.php --check→ OK 6392/6392./script/release-readiness.sh --jsonstill running at claim timePHP_FALIASregistrations inext/pgsql/Module.php(php-src-strict; no new C)Stdlib: register pgsql legacy PHP_FALIAS names (#22219) (#22259)
PurHur commentedon Jul 22, 2026
Merged via #22259
Verification
php bin/vm.php test/repro/issue_22219_pgsql_legacy_aliases.php→ all 25 aliasesY(exit 0)php bin/compile.php -lon same repro → exit 0vendor/bin/phpunit --filter pgsql_legacy_aliases→ OK (2 tests, VM+JIT)--checkOK 6392/6392Implementation
ext/pgsql/Module.phpregistersPHP_FALIASsecond names on existing Internals (php-srcpgsql.stub.php@alias/ Deprecated aliases)pg_resultaliasespg_fetch_result(notpg_result_status)