cvs: php4 /tests/basic 011.phpt
| From: | Marcus B�rger | Date: | Wed, 21 Aug 2002 23:08:21 +0000 |
| Subject: | cvs: php4 /tests/basic 011.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-13534@lists.php.net to get a copy of this message | ||
helly Wed Aug 21 19:08:21 2002 EDT
Modified files:
/php4/tests/basic 011.phpt
Log:
This does not work for CLI
Index: php4/tests/basic/011.phpt
diff -u php4/tests/basic/011.phpt:1.3 php4/tests/basic/011.phpt:1.4
--- php4/tests/basic/011.phpt:1.3 Thu May 16 17:56:08 2002
+++ php4/tests/basic/011.phpt Wed Aug 21 19:08:21 2002
@@ -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--