1--TEST-- 2Failure while parsing data array for __unserialize() 3--FILE-- 4<?php 5 6class Test { 7 public function __unserialize(array $data) { } 8} 9 10var_dump(unserialize('O:4:"Test":1:{}')); 11 12?> 13--EXPECTF-- 14Warning: unserialize(): Unexpected end of serialized data in %s on line %d 15 16Warning: unserialize(): Error at offset 14 of 15 bytes in %s on line %d 17bool(false) 18