php-src/ext/spl/tests/SplFixedArray_fromarray_param_multiarray.phpt
2018-09-16 15:39:18 -03:00

17 lines
340 B
PHP

--TEST--
Tries to create a SplFixedArray using the fromArray() function and a multi dimensional array.
--CREDITS--
Philip Norton philipnorton42@gmail.com
--FILE--
<?php
$array = SplFixedArray::fromArray(array(array('1')));
var_dump($array);
?>
--EXPECT--
object(SplFixedArray)#1 (1) {
[0]=>
array(1) {
[0]=>
string(1) "1"
}
}