php-src/ext/spl/tests/SplFixedArray_fromarray_param_multiarray.phpt
2018-02-22 08:11:30 +01:00

18 lines
341 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);
?>
--EXPECTF--
object(SplFixedArray)#1 (1) {
[0]=>
array(1) {
[0]=>
string(1) "1"
}
}