php-src/ext/spl/tests/SplFixedArray_fromarray_param_multiarray.phpt

18 lines
351 B
Plaintext
Raw Normal View History

2009-05-23 15:37:36 +00:00
--TEST--
Tries to create a SplFixedArray using the fromArray() function and a multi dimensional array.
2009-05-23 15:37:36 +00:00
--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|unicode%(1) "1"
}
}