summaryrefslogtreecommitdiff
path: root/Zend/tests/variadic
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-05-17 21:49:53 +0200
committerNikita Popov <nikic@php.net>2015-05-20 18:28:09 +0200
commit4ea1d8a9c7f7a2292db720e61799656511df2c61 (patch)
tree702c5dc0cf68c8ee8817b7d758cd19d68f0b288c /Zend/tests/variadic
parente60c1196950f68bc500ada3b802ec9b5691e6649 (diff)
downloadphp-git-4ea1d8a9c7f7a2292db720e61799656511df2c61.tar.gz
Show argument causing TypeException in trace
Not sure why that check was there, did I miss something?
Diffstat (limited to 'Zend/tests/variadic')
-rw-r--r--Zend/tests/variadic/typehint_error.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/tests/variadic/typehint_error.phpt b/Zend/tests/variadic/typehint_error.phpt
index f901147dc5..2cbe2f32a2 100644
--- a/Zend/tests/variadic/typehint_error.phpt
+++ b/Zend/tests/variadic/typehint_error.phpt
@@ -35,6 +35,6 @@ array(3) {
Fatal error: Uncaught TypeException: Argument 3 passed to test() must be of the type array, integer given, called in %s:%d
Stack trace:
-#0 %s(%d): test(Array, Array)
+#0 %s(%d): test(Array, Array, 2)
#1 {main}
thrown in %s on line %d