1--TEST-- 2Create a SplFixedArray from an array using the fromArray() function don't try to preserve the indexes. 3--CREDITS-- 4Philip Norton philipnorton42@gmail.com 5--FILE-- 6<?php 7$array = SplFixedArray::fromArray(array(1 => 1, 8 2 => '2', 9 3 => false), 10 false); 11var_dump($array); 12?> 13--EXPECTF-- 14object(SplFixedArray)#1 (3) { 15 [0]=> 16 int(1) 17 [1]=> 18 %string|unicode%(1) "2" 19 [2]=> 20 bool(false) 21} 22