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