diff options
author | Bob Weinand <bobwei9@hotmail.com> | 2015-06-29 00:28:52 +0200 |
---|---|---|
committer | Bob Weinand <bobwei9@hotmail.com> | 2015-06-29 01:00:12 +0200 |
commit | e5fae77969c4f7879c0f7e805c267a1448aef922 (patch) | |
tree | fdf10476a08e09326853815ba687ede5f79addc4 /Zend/tests/bug63336.phpt | |
parent | 9f77c44d47cc9727865473684d8914153bf53b40 (diff) | |
download | php-git-e5fae77969c4f7879c0f7e805c267a1448aef922.tar.gz |
Show full signature upon inheritance mismatch
Diffstat (limited to 'Zend/tests/bug63336.phpt')
-rw-r--r-- | Zend/tests/bug63336.phpt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/tests/bug63336.phpt b/Zend/tests/bug63336.phpt index b47a770a4d..271d3e82a9 100644 --- a/Zend/tests/bug63336.phpt +++ b/Zend/tests/bug63336.phpt @@ -2,7 +2,7 @@ Bug #63336 (invalid E_NOTICE error occur) --FILE-- <?php -error_reporting(E_ALL & ~E_WARNING ); +error_reporting(E_ALL & ~E_WARNING); define("TEST", "123"); class Base { const DUMMY = "XXX"; @@ -17,6 +17,6 @@ class Child extends Base { } ?> --EXPECTF-- -Warning: Declaration of Child::foo() should be compatible with Base::foo($var = TEST, $more = NULL) in %sbug63336.php on line %d +Warning: Declaration of Child::foo($var = TEST, array $more = Array) should be compatible with Base::foo($var = TEST, $more = NULL) in %sbug63336.php on line %d -Warning: Declaration of Child::bar() should be compatible with Base::bar($more = self::DUMMY) in %sbug63336.php on line %d +Warning: Declaration of Child::bar($var, $more = self::DUMMY) should be compatible with Base::bar($more = self::DUMMY) in %sbug63336.php on line %d |