com php-src: Ensure optind is correct when flags appear after dash-dash: ext/standard/tests/general_functions/getopt_007.php t

From: Date: Fri, 08 Jul 2016 14:53:24 +0000
Subject: com php-src: Ensure optind is correct when flags appear after dash-dash: ext/standard/tests/general_functions/getopt_007.php t
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92893@lists.php.net to get a copy of this message
Commit: 74502d43be0f4d9a06b559f5a07eaa06527c7bbe Author: Adam Saponara <saponara@gmail.com> Sun, 29 May 2016 14:21:10 -0400 Committer: Julien Pauli <jpauli@php.net> Fri, 8 Jul 2016 16:53:24 +0200 Parents: e4f7f00a7748b1312f6486639c158be887f23e18 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=74502d43be0f4d9a06b559f5a07eaa06527c7bbe Log: Ensure optind is correct when flags appear after dash-dash Changed paths: M ext/standard/tests/general_functions/getopt_007.phpt Diff: diff --git a/ext/standard/tests/general_functions/getopt_007.phpt b/ext/standard/tests/general_functions/getopt_007.phpt index 157a86e..ae96da5 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

« previous php.cvs (#92893) next »