![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: SPL: FixedArray: var_dump 3: --FILE-- 4: <?php 5: $a = new SplFixedArray(2); 6: $a[0] = "foo"; 7: var_dump(empty($a[0]), empty($a[1]), $a); 8: ?> 9: --EXPECTF-- 10: bool(false) 11: bool(true) 12: object(SplFixedArray)#%d (2) { 13: [0]=> 14: string(3) "foo" 15: [1]=> 16: NULL 17: }