diff options
author | SVN Migration <svn@php.net> | 2009-02-19 18:31:26 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2009-02-19 18:31:26 +0000 |
commit | 29373f44a1fe6a2b3df3597b539252fbb614aacb (patch) | |
tree | 29793409b7d473671f316882ee3e3900805fab6d | |
parent | 98d0c1fadef3817fdffcb35044f2d2f97ec77659 (diff) | |
download | php-git-php-5.2.9RC3.tar.gz |
This commit was manufactured by cvs2svn to create tag 'php_5_2_9RC3'.php-5.2.9RC3
-rw-r--r-- | ext/session/tests/022.phpt | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/ext/session/tests/022.phpt b/ext/session/tests/022.phpt deleted file mode 100644 index 5923bbe0bf..0000000000 --- a/ext/session/tests/022.phpt +++ /dev/null @@ -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";}}" |