1--TEST-- 2SPL: FixedArray: Assigning objects 3--FILE-- 4<?php 5 6$b = 10000; 7$a = new SplFixedArray($b); 8 9try { 10 for ($i = 0; $i < 100; $i++) { 11 $a[] = new stdClass; 12 } 13} catch (Exception $e) { 14 echo $e->getMessage(), "\n"; 15} 16 17print "ok\n"; 18 19?> 20--EXPECT-- 21Index invalid or out of range 22ok 23