php-src/Zend/tests/assert
Nikita Popov d92229d8c7 Implement named parameters
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.
2020-07-31 15:53:36 +02:00
..
bug70528.phpt Fixed bug #70528 (assert() with instanceof adds apostrophes around class name) 2015-09-19 19:49:36 -07:00
expect_001.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
expect_002.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_003.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_004.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_005.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_006.phpt
expect_007.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_008.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_009.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_010.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_011.phpt Changed AssertionException to AssertionError 2015-06-14 23:52:39 -05:00
expect_012.phpt
expect_013.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
expect_014.phpt Sync leading and final newlines in *.phpt sections 2018-10-15 04:33:09 +02:00
expect_015.phpt Implement named parameters 2020-07-31 15:53:36 +02:00
expect_016.phpt Fix missed assertion tests 2015-10-18 02:23:43 -05:00
expect_017.phpt
expect_018.phpt Fix missed assertion tests 2015-10-18 02:23:43 -05:00
expect_019.phpt Use EXPECT instead of EXPECTF when possible 2018-02-20 21:53:48 +01:00
expect_020.phpt Reindent phpt files 2020-02-03 22:52:20 +01:00
expect_empty_stmt_bug.phpt Remove extra semicolons 2018-07-26 12:38:22 +02:00