![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: SPL: FixedArray: Trying to instantiate passing object to constructor parameter 3: --FILE-- 4: <?php 5: 6: $b = new stdClass; 7: 8: $a = new SplFixedArray($b); 9: 10: ?> 11: --EXPECTF-- 12: Warning: SplFixedArray::__construct() expects parameter 1 to be long, object given in %s on line %d