mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +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. |
||
---|---|---|
.. | ||
bug70528.phpt | ||
expect_001.phpt | ||
expect_002.phpt | ||
expect_003.phpt | ||
expect_004.phpt | ||
expect_005.phpt | ||
expect_006.phpt | ||
expect_007.phpt | ||
expect_008.phpt | ||
expect_009.phpt | ||
expect_010.phpt | ||
expect_011.phpt | ||
expect_012.phpt | ||
expect_013.phpt | ||
expect_014.phpt | ||
expect_015.phpt | ||
expect_016.phpt | ||
expect_017.phpt | ||
expect_018.phpt | ||
expect_019.phpt | ||
expect_020.phpt | ||
expect_empty_stmt_bug.phpt |