]> granicus.if.org Git - php/commitdiff
Test files are fixed.
authorDmitry Stogov <dmitry@php.net>
Tue, 5 Oct 2004 13:21:06 +0000 (13:21 +0000)
committerDmitry Stogov <dmitry@php.net>
Tue, 5 Oct 2004 13:21:06 +0000 (13:21 +0000)
Zend/tests/unset_cv06.phpt
Zend/tests/unset_cv07.phpt

index 1d0d5cdd449ec73e4760f6576bd687b2aa5bb428..fd5c6886ae74ee3d0bdbe60378bf08ee9885e000 100644 (file)
@@ -2,6 +2,8 @@
 unset() CV 6 (indirect unset() of global variable in session_unset())
 --SKIPIF--
 <?php include('../../ext/session/tests/skipif.inc'); ?>
+--INI--
+register_globals=1
 --FILE--
 <?php
 $x = "1\n";
index e828915dabb5118642ae9fb652a1247af6126842..ced73e0a5c6892f3682cffacab670065d59ddb40 100644 (file)
@@ -1,5 +1,9 @@
 --TEST--
 unset() CV 7 (indirect unset() of global variable in import_request_variables())
+--SKIPIF--
+<?php if (php_sapi_name()=='cli') echo 'skip'; ?>
+--INI--
+error_reporting=2039
 --GET--
 x=2
 --FILE--
@@ -8,7 +12,7 @@ $x = "1\n";
 echo $x;
 import_request_variables("g");
 echo $x;
-echo "\nok\n";
+echo "ok\n";
 ?>
 --EXPECT--
 1