summaryrefslogtreecommitdiff
path: root/tests/lang/func_get_arg_variation.phpt
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-07-12 12:40:37 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-07-21 14:47:03 +0200
commit5770b6672228dff9a5f320ce9938e7b196bb03e8 (patch)
tree7cf29f64f85ccf3ed56fd41c1a2a3dffd349acb7 /tests/lang/func_get_arg_variation.phpt
parent42226fcf0369c7d410f47f45e0249b3dcf01c78a (diff)
downloadphp-git-5770b6672228dff9a5f320ce9938e7b196bb03e8.tar.gz
Cleanup argument handling of Zend functions and methods
Closes GH-5847
Diffstat (limited to 'tests/lang/func_get_arg_variation.phpt')
-rw-r--r--tests/lang/func_get_arg_variation.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lang/func_get_arg_variation.phpt b/tests/lang/func_get_arg_variation.phpt
index eb608ad0f0..1c4f243fbf 100644
--- a/tests/lang/func_get_arg_variation.phpt
+++ b/tests/lang/func_get_arg_variation.phpt
@@ -22,5 +22,5 @@ foo(2);
?>
--EXPECT--
-func_get_arg(): Argument #1 ($arg_num) must be greater than or equal to 0
-func_get_arg(): Argument 2 not passed to function
+func_get_arg(): Argument #1 ($position) must be greater than or equal to 0
+func_get_arg(): Argument #1 ($position) must be less than the number of the arguments passed to the currently executed function