mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
getopt() is currently not available on Windows
This commit is contained in:
parent
11e81f89fd
commit
f93b09b2db
1 changed files with 3 additions and 0 deletions
|
@ -4,6 +4,9 @@ getopt
|
||||||
-v -h -d test -m 1234 -t -j
|
-v -h -d test -m 1234 -t -j
|
||||||
--SKIPIF--
|
--SKIPIF--
|
||||||
<?php
|
<?php
|
||||||
|
if (substr(PHP_OS, 0, 3) == 'WIN') {
|
||||||
|
die('skip getopt() is currently not available on Windows');
|
||||||
|
}
|
||||||
if (!ini_get('register_argc_argv')) {
|
if (!ini_get('register_argc_argv')) {
|
||||||
die("skip this test needs register_argc_argv to be enabled");
|
die("skip this test needs register_argc_argv to be enabled");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue