mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
d92229d8c7
From an engine perspective, named parameters mainly add three concepts: * The SEND_* opcodes now accept a CONST op2, which is the argument name. For now, it is looked up by linear scan and runtime cached. * This may leave UNDEF arguments on the stack. To avoid having to deal with them in other places, a CHECK_UNDEF_ARGS opcode is used to either replace them with defaults, or error. * For variadic functions, EX(extra_named_params) are collected and need to be freed based on ZEND_CALL_HAS_EXTRA_NAMED_PARAMS. RFC: https://wiki.php.net/rfc/named_params Closes GH-5357. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
Makefile.frag | ||
Makefile.frag.w32 | ||
pdo_arginfo.h | ||
pdo_dbh_arginfo.h | ||
pdo_dbh.c | ||
pdo_dbh.stub.php | ||
pdo_sql_parser.re | ||
pdo_sqlstate.c | ||
pdo_stmt_arginfo.h | ||
pdo_stmt.c | ||
pdo_stmt.stub.php | ||
pdo.c | ||
pdo.stub.php | ||
php_pdo_driver.h | ||
php_pdo_error.h | ||
php_pdo_int.h | ||
php_pdo.h |