summaryrefslogtreecommitdiff
path: root/ext/session/tests/005.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/tests/005.phpt')
-rw-r--r--ext/session/tests/005.phpt14
1 files changed, 7 insertions, 7 deletions
diff --git a/ext/session/tests/005.phpt b/ext/session/tests/005.phpt
index a7b42de7fa..2b51ceed94 100644
--- a/ext/session/tests/005.phpt
+++ b/ext/session/tests/005.phpt
@@ -56,7 +56,7 @@ class foo {
session_set_save_handler(array($hnd, "open"), array($hnd, "close"), array($hnd, "read"), array($hnd, "write"), array($hnd, "destroy"), array($hnd, "gc"));
-session_id("abtest");
+session_id("test005");
session_start();
session_decode($hnd->data);
@@ -91,7 +91,7 @@ session_destroy();
?>
--EXPECT--
OPEN: PHPSESSID
-READ: abtest
+READ: test005
object(foo)#4 (2) {
["bar"]=>
string(2) "ok"
@@ -107,10 +107,10 @@ array(1) {
int(2)
}
}
-WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}}
+WRITE: test005, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}}
CLOSE
OPEN: PHPSESSID
-READ: abtest
+READ: test005
object(foo)#2 (2) {
["bar"]=>
string(2) "ok"
@@ -127,10 +127,10 @@ array(1) {
}
}
int(123)
-WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123;
+WRITE: test005, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123;
CLOSE
OPEN: PHPSESSID
-READ: abtest
+READ: test005
object(foo)#4 (2) {
["bar"]=>
string(2) "ok"
@@ -147,5 +147,5 @@ array(1) {
}
}
int(123)
-DESTROY: abtest
+DESTROY: test005
CLOSE