summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/getopt.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/general_functions/getopt.phpt')
-rw-r--r--ext/standard/tests/general_functions/getopt.phpt30
1 files changed, 0 insertions, 30 deletions
diff --git a/ext/standard/tests/general_functions/getopt.phpt b/ext/standard/tests/general_functions/getopt.phpt
deleted file mode 100644
index 13a4fa558f..0000000000
--- a/ext/standard/tests/general_functions/getopt.phpt
+++ /dev/null
@@ -1,30 +0,0 @@
---TEST--
-getopt
---ARGS--
--v -h -d test -m 1234 -t -j
---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
- var_dump(getopt("d:m:j:vht"));
-?>
---EXPECT--
-array(5) {
- ["v"]=>
- bool(false)
- ["h"]=>
- bool(false)
- ["d"]=>
- string(4) "test"
- ["m"]=>
- string(4) "1234"
- ["t"]=>
- bool(false)
-}