1--TEST--
2Bug #73052: Memory Corruption in During Deserialized-object Destruction
3--FILE--
4<?php
5
6class obj {
7    var $ryat;
8    public function __destruct() {
9        $this->ryat = null;
10    }
11}
12
13$poc = 'O:3:"obj":1:{';
14var_dump(unserialize($poc));
15?>
16--EXPECTF--
17Notice: unserialize(): Error at offset 13 of 13 bytes in %sbug73052.php on line %d
18bool(false)
19