Return to SplFixedArray_fromArray_invalid_parameter_001.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / spl / tests |
1.1 misho 1: --TEST-- 2: pass an integer into fromArray() 3: --CREDITS-- 4: PHPNW Testfest 2009 - Lorna Mitchell 5: --FILE-- 6: <?php 7: echo SplFixedArray::fromArray(17954); 8: ?> 9: --EXPECTF-- 10: Warning: SplFixedArray::fromArray() expects parameter 1 to be array, integer given in %s on line %d