]> granicus.if.org Git - php/commitdiff
This does not work for CLI
authorMarcus Boerger <helly@php.net>
Wed, 21 Aug 2002 23:08:21 +0000 (23:08 +0000)
committerMarcus Boerger <helly@php.net>
Wed, 21 Aug 2002 23:08:21 +0000 (23:08 +0000)
tests/basic/011.phpt

index 8d12ea8da8c681497df7490484abfd9b22e64396..34eed7915a0b046fe9064076ba1d2386ed3cde05 100644 (file)
@@ -1,8 +1,9 @@
 --TEST--
-Testing $argc and $argv handling
+Testing $argc and $argv handling (GET)
 --SKIPIF--
-<?php if(ini_get('register_argc_argv') == '') echo 'skip'; ?>
---POST--
+<?php if (php_sapi_name()=='cli') echo 'skip'; ?>
+--INI--
+register_argc_argv=1
 --GET--
 ab+cd+ef+123+test
 --FILE--