diff options
author | Dmitry Stogov <dmitry@zend.com> | 2016-06-16 02:32:02 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2016-06-16 02:32:02 +0300 |
commit | ff363e2e7c58353b7e2751d1ca4d7bf616862aae (patch) | |
tree | 318bcb9b453c607f1d49c114999895748903b3da /Zend/tests/error_reporting07.phpt | |
parent | a9512af8109e889eb2c6042c57797184930667cd (diff) | |
download | php-git-ff363e2e7c58353b7e2751d1ca4d7bf616862aae.tar.gz |
Implemented RFC: Replace "Missing argument" warning with "Too few arguments" exception
Squashed commit of the following:
commit 8b45fa2acb8cd92542a39e1e4720fe1f4fabc26c
Author: Dmitry Stogov <dmitry@zend.com>
Date: Thu Jun 16 01:52:50 2016 +0300
Separate slow path of ZEND_RECV into a cold function.
commit 9e18895ee59c64c93a96b1ba3061355c4663e962
Author: Dmitry Stogov <dmitry@zend.com>
Date: Wed Jun 15 23:26:28 2016 +0300
Required argument can't be IS_UNDEF anymore.
commit 662db66e3943d4455c65e4f987bb54abf724ecb2
Author: Dmitry Stogov <dmitry@zend.com>
Date: Tue May 31 17:14:50 2016 +0300
Replace "Missing argument" warning by "Too few arguments" exception.
Diffstat (limited to 'Zend/tests/error_reporting07.phpt')
-rw-r--r-- | Zend/tests/error_reporting07.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/error_reporting07.phpt b/Zend/tests/error_reporting07.phpt index c63efae604..09b7690d3c 100644 --- a/Zend/tests/error_reporting07.phpt +++ b/Zend/tests/error_reporting07.phpt @@ -11,7 +11,7 @@ function foo1($arg) { function foo2($arg) { } -function foo3($arg) { +function foo3() { echo $undef3; throw new Exception("test"); } |