xref: /php-src/Zend/tests/bug70187.phpt (revision f8d79582)
1--TEST--
2Bug #70187 (Notice: unserialize(): Unexpected end of serialized data)
3--FILE--
4<?php
5class A {
6    public $b;
7}
8
9$a = new A;
10var_dump($a); // force properties HT
11unset($a->b);
12var_dump(serialize($a));
13?>
14--EXPECT--
15object(A)#1 (1) {
16  ["b"]=>
17  NULL
18}
19string(12) "O:1:"A":0:{}"
20