summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2003-06-17 22:32:51 +0000
committerRasmus Lerdorf <rasmus@php.net>2003-06-17 22:32:51 +0000
commit1269ac0661a144feda9a62b46846bd0bca2cb7ca (patch)
tree4b575ae9df19be6ac0ee0c7576bd48081977d798 /ext
parenta2f0a9c380b32fcbbce0ee05962f0315a665032d (diff)
downloadphp-git-1269ac0661a144feda9a62b46846bd0bca2cb7ca.tar.gz
variables_order needs to include S for both of these to work
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/tests/general_functions/getopt.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/tests/general_functions/getopt.phpt b/ext/standard/tests/general_functions/getopt.phpt
index 13a4fa558f..b896212bec 100644
--- a/ext/standard/tests/general_functions/getopt.phpt
+++ b/ext/standard/tests/general_functions/getopt.phpt
@@ -2,14 +2,14 @@
getopt
--ARGS--
-v -h -d test -m 1234 -t -j
+--INI--
+variables_order="GPCSE"
+register_argc_argv=1
--SKIPIF--
<?php
if (substr(PHP_OS, 0, 3) == 'WIN') {
die('skip getopt() is currently not available on Windows');
}
- if (!ini_get('register_argc_argv')) {
- die("skip this test needs register_argc_argv to be enabled");
- }
?>
--FILE--
<?php