1--TEST--
2ArrayObject: test that you cannot unserialize a empty string
3--CREDITS--
4Havard Eide <nucleuz@gmail.com>
5#PHPTestFest2009 Norway 2009-06-09 \o/
6--FILE--
7<?php
8$a = new ArrayObject(array());
9$a->unserialize("");
10?>
11--EXPECTF--
12Fatal error: Uncaught exception 'UnexpectedValueException' with message 'Empty serialized string cannot be empty' in %s.php:%d
13Stack trace:
14#0 %s(%d): ArrayObject->unserialize('')
15#1 {main}
16  thrown in %s.php on line %d
17