summaryrefslogtreecommitdiff
path: root/tests/classes/type_hinting_005d.phpt
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2011-09-23 15:08:11 +0000
committerXinchen Hui <laruence@php.net>2011-09-23 15:08:11 +0000
commit8cefbca521c944d6fbcda7da7eb1a538d8332f71 (patch)
tree942a0e32ebf8a9e5bd5a4dd402bdadffe5f45db0 /tests/classes/type_hinting_005d.phpt
parent659fc4b0f44c164deae62b1ed30385770876369f (diff)
downloadphp-git-8cefbca521c944d6fbcda7da7eb1a538d8332f71.tar.gz
Improve the warning message of incompatible arguments. (#55719)
And fix tests related.
Diffstat (limited to 'tests/classes/type_hinting_005d.phpt')
-rw-r--r--tests/classes/type_hinting_005d.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/classes/type_hinting_005d.phpt b/tests/classes/type_hinting_005d.phpt
index 60dda0ff24..830054d03d 100644
--- a/tests/classes/type_hinting_005d.phpt
+++ b/tests/classes/type_hinting_005d.phpt
@@ -9,6 +9,6 @@ Class D extends C { function f(array $a) {} }
?>
==DONE==
--EXPECTF--
-Strict Standards: Declaration of D::f() should be compatible with that of C::f() in %s on line 5
+Strict Standards: Declaration of D::f() should be compatible with C::f($a) in %s on line 5
Array hint, should be nothing.
-==DONE== \ No newline at end of file
+==DONE==