Permalink
Browse files

This commit was manufactured by cvs2svn to create tag 'php_5_2_9RC2'.

  • Loading branch information...
1 parent 46a6126 commit 7a8e322e20e4d9b0ba597bd89c88e10507f12ba6 SVN Migration committed Feb 12, 2009
Showing with 0 additions and 32 deletions.
  1. +0 −32 ext/session/tests/022.phpt
View
@@ -1,32 +0,0 @@
---TEST--
-session object serialization
---SKIPIF--
-<?php include('skipif.inc'); ?>
---INI--
-session.use_cookies=0
-session.cache_limiter=
-session.serialize_handler=php
-session.save_handler=files
---FILE--
-<?php
-error_reporting(E_ALL);
-
-class foo {
- public $bar = "ok";
-
- function method() { $this->yes = "done"; }
-}
-
-$baz = new foo;
-$baz->method();
-
-$arr[3] = new foo;
-$arr[3]->method();
-session_start();
-$_SESSION["baz"] = $baz;
-$_SESSION["arr"] = $arr;
-var_dump(session_encode());
-session_destroy();
-?>
---EXPECT--
-string(126) "baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";s:4:"done";}}"

0 comments on commit 7a8e322

Please sign in to comment.