sas Thu Oct 3 12:14:55 2002 EDT
Modified files:
/php4/ext/session/tests 001.phpt 002.phpt 003.phpt 004.phpt
005.phpt 006.phpt 007.phpt 008.phpt
009.phpt 010.phpt 011.phpt 012.phpt
013.phpt 014.phpt
Log:
editing
Index: php4/ext/session/tests/001.phpt
diff -u php4/ext/session/tests/001.phpt:1.7 php4/ext/session/tests/001.phpt:1.8
--- php4/ext/session/tests/001.phpt:1.7 Thu Oct 3 11:11:00 2002
+++ php4/ext/session/tests/001.phpt Thu Oct 3 12:14:54 2002
@@ -1,5 +1,5 @@
--TEST--
-Session Object Serialization
+session object serialization
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -8,6 +8,7 @@
register_globals=1
--FILE--
<?php
+error_reporting(E_ALL);
class foo {
var $bar = "ok";
Index: php4/ext/session/tests/002.phpt
diff -u php4/ext/session/tests/002.phpt:1.4 php4/ext/session/tests/002.phpt:1.5
--- php4/ext/session/tests/002.phpt:1.4 Fri Apr 19 03:55:24 2002
+++ php4/ext/session/tests/002.phpt Thu Oct 3 12:14:54 2002
@@ -1,9 +1,10 @@
--TEST--
-session_unset() without any session
+session_unset() without a initialized session
--SKIPIF--
<?php include('skipif.inc'); ?>
--FILE--
<?php
+error_reporting(E_ALL);
session_unset();
print "ok\n";
--GET--
Index: php4/ext/session/tests/003.phpt
diff -u php4/ext/session/tests/003.phpt:1.9 php4/ext/session/tests/003.phpt:1.10
--- php4/ext/session/tests/003.phpt:1.9 Thu Oct 3 11:11:01 2002
+++ php4/ext/session/tests/003.phpt Thu Oct 3 12:14:54 2002
@@ -1,5 +1,5 @@
--TEST--
-Session Object Deserialization
+session object deserialization
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -8,6 +8,7 @@
register_globals=1
--FILE--
<?php
+error_reporting(E_ALL);
class foo {
var $bar = "ok";
Index: php4/ext/session/tests/004.phpt
diff -u php4/ext/session/tests/004.phpt:1.11 php4/ext/session/tests/004.phpt:1.12
--- php4/ext/session/tests/004.phpt:1.11 Thu Oct 3 11:19:55 2002
+++ php4/ext/session/tests/004.phpt Thu Oct 3 12:14:55 2002
@@ -8,7 +8,7 @@
register_globals=1
--FILE--
<?php
-error_reporting(~E_NOTICE);
+error_reporting(E_ALL);
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.9 php4/ext/session/tests/005.phpt:1.10
--- php4/ext/session/tests/005.phpt:1.9 Thu Oct 3 11:19:55 2002
+++ php4/ext/session/tests/005.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-Custom save handler, multiple session_start()s, complex data structure test.
+custom save handler, multiple session_start()s, complex data structure test.
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -9,7 +9,7 @@
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
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/006.phpt
diff -u php4/ext/session/tests/006.phpt:1.9 php4/ext/session/tests/006.phpt:1.10
--- php4/ext/session/tests/006.phpt:1.9 Thu Oct 3 11:19:55 2002
+++ php4/ext/session/tests/006.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-References between variables in sessions
+correct instantiation of references between variables in sessions
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -8,7 +8,7 @@
register_globals=1
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
session_id("abtest");
session_start();
Index: php4/ext/session/tests/007.phpt
diff -u php4/ext/session/tests/007.phpt:1.5 php4/ext/session/tests/007.phpt:1.6
--- php4/ext/session/tests/007.phpt:1.5 Thu Oct 3 11:19:55 2002
+++ php4/ext/session/tests/007.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-Verify PHP 4.2 compatibility: unset($c) with enabled register_globals
+bug compatibility: unset($c) with enabled register_globals
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -9,7 +9,7 @@
session.bug_compat_42=1
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
session_id("abtest");
Index: php4/ext/session/tests/008.phpt
diff -u php4/ext/session/tests/008.phpt:1.5 php4/ext/session/tests/008.phpt:1.6
--- php4/ext/session/tests/008.phpt:1.5 Thu Oct 3 11:19:55 2002
+++ php4/ext/session/tests/008.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-Verify PHP 4.2 compatibility: global is used albeit register_globals=0
+bug compatibility: global is used albeit register_globals=0
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
Index: php4/ext/session/tests/009.phpt
diff -u php4/ext/session/tests/009.phpt:1.1 php4/ext/session/tests/009.phpt:1.2
--- php4/ext/session/tests/009.phpt:1.1 Thu Oct 3 11:19:43 2002
+++ php4/ext/session/tests/009.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-unset($_SESSION["name"]); works with register_globals=off
+unset($_SESSION["name"]); should work with register_globals=off
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -10,7 +10,7 @@
session.bug_compat_warn=0
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
session_id("abtest");
Index: php4/ext/session/tests/010.phpt
diff -u php4/ext/session/tests/010.phpt:1.1 php4/ext/session/tests/010.phpt:1.2
--- php4/ext/session/tests/010.phpt:1.1 Thu Oct 3 11:39:29 2002
+++ php4/ext/session/tests/010.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-$session_array = explode(";", session_encode()); should not segfault.
+$session_array = explode(";", session_encode()); should not segfault
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -10,7 +10,7 @@
session.bug_compat_warn=0
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
$session_array = explode(";", @session_encode());
print "I live\n";
Index: php4/ext/session/tests/011.phpt
diff -u php4/ext/session/tests/011.phpt:1.1 php4/ext/session/tests/011.phpt:1.2
--- php4/ext/session/tests/011.phpt:1.1 Thu Oct 3 11:39:29 2002
+++ php4/ext/session/tests/011.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-session_decode(); should not segfault.
+session_decode(); should not segfault
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -10,7 +10,7 @@
session.bug_compat_warn=0
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
@session_decode("garbage data and no session started");
@session_decode("userid|s:5:\"mazen\";chatRoom|s:1:\"1\";");
Index: php4/ext/session/tests/012.phpt
diff -u php4/ext/session/tests/012.phpt:1.1 php4/ext/session/tests/012.phpt:1.2
--- php4/ext/session/tests/012.phpt:1.1 Thu Oct 3 11:48:18 2002
+++ php4/ext/session/tests/012.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-Registering _SESSION should not segfault.
+registering $_SESSION should not segfault
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
@@ -10,7 +10,7 @@
session.bug_compat_warn=0
--FILE--
<?php
-error_reporting(E_ALL & ~E_NOTICE);
+error_reporting(E_ALL);
### Absurd example, value of $_SESSION does not matter
Index: php4/ext/session/tests/013.phpt
diff -u php4/ext/session/tests/013.phpt:1.1 php4/ext/session/tests/013.phpt:1.2
--- php4/ext/session/tests/013.phpt:1.1 Thu Oct 3 11:52:36 2002
+++ php4/ext/session/tests/013.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-There should not be any warning with regard to redefining SID
+redefining SID should not cause warnings
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
Index: php4/ext/session/tests/014.phpt
diff -u php4/ext/session/tests/014.phpt:1.1 php4/ext/session/tests/014.phpt:1.2
--- php4/ext/session/tests/014.phpt:1.1 Thu Oct 3 11:58:10 2002
+++ php4/ext/session/tests/014.phpt Thu Oct 3 12:14:55 2002
@@ -1,5 +1,5 @@
--TEST--
-A script should not be able to modify session.use_trans_sid
+a script should not be able to modify session.use_trans_sid
--SKIPIF--
<?php include('skipif.inc'); ?>
--INI--
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php