getopt() is currently not available on Windows

This commit is contained in:
Kai Schroeder 2003-02-09 13:23:50 +00:00
parent 11e81f89fd
commit f93b09b2db

View file

@ -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");
} }