diff options
Diffstat (limited to 'ext/standard/tests/serialize/bug28325.phpt')
-rw-r--r-- | ext/standard/tests/serialize/bug28325.phpt | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/ext/standard/tests/serialize/bug28325.phpt b/ext/standard/tests/serialize/bug28325.phpt deleted file mode 100644 index 7f2bd66371..0000000000 --- a/ext/standard/tests/serialize/bug28325.phpt +++ /dev/null @@ -1,39 +0,0 @@ ---TEST-- -Bug #28325 (Problem in serialisation of circular references) ---FILE-- -<?php -class a { - public $b; -} -class b { - public $c; -} -class c { - public $d; -} -$a = new a(); -$a->b = new b(); -$a->b->c = new c(); -$a->b->c->d = $a; -var_dump(unserialize(serialize($a))); -?> ---EXPECTF-- -object(a)#%d (1) { - ["b"]=> - object(b)#%d (1) { - ["c"]=> - object(c)#%d (1) { - ["d"]=> - object(a)#%d (1) { - ["b"]=> - object(b)#%d (1) { - ["c"]=> - object(c)#%d (1) { - ["d"]=> - *RECURSION* - } - } - } - } - } -} |