--TEST-- Check that SplObjectStorage::unserialize throws exception when NULL passed --CREDITS-- PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com) --FILE-- unserialize(NULL); } catch(UnexpectedValueException $e) { echo $e->getMessage(); } ?> --EXPECTF-- Empty serialized string cannot be empty