From 74502d43be0f4d9a06b559f5a07eaa06527c7bbe Mon Sep 17 00:00:00 2001 From: Adam Saponara Date: Sun, 29 May 2016 14:21:10 -0400 Subject: [PATCH] Ensure optind is correct when flags appear after dash-dash --- ext/standard/tests/general_functions/getopt_007.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/tests/general_functions/getopt_007.phpt b/ext/standard/tests/general_functions/getopt_007.phpt index 157a86e70b..ae96da5c4b 100644 --- a/ext/standard/tests/general_functions/getopt_007.phpt +++ b/ext/standard/tests/general_functions/getopt_007.phpt @@ -1,7 +1,7 @@ --TEST-- getopt#007 (optind #2) --ARGS-- --a 1 -b 2 -- test +-a 1 -b 2 -- -c nope test --INI-- register_argc_argv=On variables_order=GPS -- 2.50.1