diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-27 16:58:30 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-07 13:45:28 +0200 |
commit | fd2db1192997f5778139ea8e9d25189c7c08af2c (patch) | |
tree | 242059c49aa51b47b6edc30a404fbc2dce764b49 /Zend/tests/objects_004.phpt | |
parent | 49c4ab3c394a6e18ab09582bccf6a26d88c4a616 (diff) | |
download | php-git-fd2db1192997f5778139ea8e9d25189c7c08af2c.tar.gz |
Always generate fatal error for LSP failures
RFC: https://wiki.php.net/rfc/lsp_errors
Diffstat (limited to 'Zend/tests/objects_004.phpt')
-rw-r--r-- | Zend/tests/objects_004.phpt | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Zend/tests/objects_004.phpt b/Zend/tests/objects_004.phpt index 1cc90384a7..7c9ca452c8 100644 --- a/Zend/tests/objects_004.phpt +++ b/Zend/tests/objects_004.phpt @@ -17,8 +17,6 @@ class test3 extends test { function foo(&$arg) {} } -echo "Done\n"; ?> --EXPECTF-- -Warning: Declaration of test3::foo(&$arg) should be compatible with test::foo($arg) in %s on line %d -Done +Fatal error: Declaration of test3::foo(&$arg) must be compatible with test::foo($arg) in %s on line %d |