cvs: php4 /ext/session/tests 001.phpt 003.phpt 004.phpt 005.phpt 006.phpt
| From: | Sascha Schumann | Date: | Thu, 07 Mar 2002 20:51:28 +0000 |
| Subject: | cvs: php4 /ext/session/tests 001.phpt 003.phpt 004.phpt 005.phpt 006.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-9807@lists.php.net to get a copy of this message | ||
sas Thu Mar 7 15:51:28 2002 EDT
Modified files:
/php4/ext/session/tests 001.phpt 003.phpt 004.phpt 005.phpt
006.phpt
Log:
These tests currently depend on register_globals=1
Index: php4/ext/session/tests/001.phpt
diff -u php4/ext/session/tests/001.phpt:1.2 php4/ext/session/tests/001.phpt:1.3
--- php4/ext/session/tests/001.phpt:1.2 Sat Oct 6 05:54:23 2001
+++ php4/ext/session/tests/001.phpt Thu Mar 7 15:51:27 2002
@@ -3,6 +3,8 @@
--FILE--
<?php
+ini_set("register_globals", 1);
+
class foo {
var $bar = "ok";
Index: php4/ext/session/tests/003.phpt
diff -u php4/ext/session/tests/003.phpt:1.4 php4/ext/session/tests/003.phpt:1.5
--- php4/ext/session/tests/003.phpt:1.4 Thu Jan 10 00:11:19 2002
+++ php4/ext/session/tests/003.phpt Thu Mar 7 15:51:27 2002
@@ -3,6 +3,8 @@
--FILE--
<?php
+ini_set("register_globals", 1);
+
class foo {
var $bar = "ok";
function method() { $this->yes++; }
Index: php4/ext/session/tests/004.phpt
diff -u php4/ext/session/tests/004.phpt:1.5 php4/ext/session/tests/004.phpt:1.6
--- php4/ext/session/tests/004.phpt:1.5 Thu Jan 10 00:11:19 2002
+++ php4/ext/session/tests/004.phpt Thu Mar 7 15:51:27 2002
@@ -3,6 +3,7 @@
--FILE--
<?php
error_reporting(~E_NOTICE);
+ini_set("register_globals", 1);
class handler {
var $data =
'baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}}';
Index: php4/ext/session/tests/005.phpt
diff -u php4/ext/session/tests/005.phpt:1.3 php4/ext/session/tests/005.phpt:1.4
--- php4/ext/session/tests/005.phpt:1.3 Thu Jan 10 00:11:19 2002
+++ php4/ext/session/tests/005.phpt Thu Mar 7 15:51:27 2002
@@ -3,6 +3,8 @@
--FILE--
<?php
+ini_set("register_globals", 1);
+
error_reporting(E_ALL & ~E_NOTICE);
class handler {
Index: php4/ext/session/tests/006.phpt
diff -u php4/ext/session/tests/006.phpt:1.3 php4/ext/session/tests/006.phpt:1.4
--- php4/ext/session/tests/006.phpt:1.3 Thu Jan 10 00:11:19 2002
+++ php4/ext/session/tests/006.phpt Thu Mar 7 15:51:27 2002
@@ -3,6 +3,9 @@
--FILE--
<?php
error_reporting(E_ALL & ~E_NOTICE);
+
+ini_set("register_globals", 1);
+
ob_start();
session_id("abtest");
session_start();