1--TEST-- 2Bug #73092: Unserialize use-after-free when resizing object's properties hash table 3--FILE-- 4<?php 5 6class foo { 7 function __wakeup() { 8 $this->{'x'} = 1; 9 } 10} 11 12unserialize('a:3:{i:0;O:3:"foo":8:{i:0;i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;i:6;i:7;i:7;}i:1;s:263:"'.str_repeat("\06", 263).'";i:2;r:3;}'); 13 14?> 15===DONE=== 16--EXPECT-- 17===DONE=== 18