1--TEST-- 2Check that SplObjectStorage::unserialize doesn't throws exception when NULL passed 3--CREDITS-- 4PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com) 5--FILE-- 6<?php 7 8$s = new SplObjectStorage(); 9 10try { 11 $s->unserialize(NULL); 12} catch(UnexpectedValueException $e) { 13 echo $e->getMessage(); 14} 15 16?> 17Done 18--EXPECT-- 19Done 20