import zend standard tests
[hiphop-php.git] / hphp / test / zend / bad / ext-standard-serialize / bug14293.php
blob327b3ac7eb5bf519f6a2ac78b56e12d29529c765
1 <?php
2 class t
4 function t()
6 $this->a = 'hello';
9 function __sleep()
11 echo "__sleep called\n";
12 return array('a','b');
16 $t = new t();
17 $data = serialize($t);
18 echo "$data\n";
19 $t = unserialize($data);
20 var_dump($t);