rasmus          Tue Jun 17 18:32:51 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/standard/tests/general_functions  getopt.phpt 
    /php4/tests/basic   012.phpt 
  Log:
  variables_order needs to include S for both of these to work
  
  
Index: php4/ext/standard/tests/general_functions/getopt.phpt
diff -u php4/ext/standard/tests/general_functions/getopt.phpt:1.1.2.2 
php4/ext/standard/tests/general_functions/getopt.phpt:1.1.2.3
--- php4/ext/standard/tests/general_functions/getopt.phpt:1.1.2.2       Sun Feb  9 
08:23:10 2003
+++ php4/ext/standard/tests/general_functions/getopt.phpt       Tue Jun 17 18:32:51 
2003
@@ -2,13 +2,13 @@
 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--
Index: php4/tests/basic/012.phpt
diff -u php4/tests/basic/012.phpt:1.1 php4/tests/basic/012.phpt:1.1.4.1
--- php4/tests/basic/012.phpt:1.1       Wed Aug 21 19:10:44 2002
+++ php4/tests/basic/012.phpt   Tue Jun 17 18:32:51 2003
@@ -4,6 +4,7 @@
 <?php if(php_sapi_name()!='cli') echo 'skip'; ?>
 --INI--
 register_argc_argv=1
+variables_order="GPCSE"
 --ARGS--
 ab cd ef 123 test
 --FILE--



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to