![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Check that SplObjectStorage::getInfo returns NULL when storage is empty ! 3: --CREDITS-- ! 4: PHPNW Testfest 2009 - Simon Westcott (swestcott@gmail.com) ! 5: --FILE-- ! 6: <?php ! 7: ! 8: $s = new SplObjectStorage(); ! 9: ! 10: var_dump($s->getInfo()); ! 11: ! 12: ?> ! 13: --EXPECT-- ! 14: NULL ! 15: