1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/ext/spl/tests/SplFixedArray_fromarray_param_multiarray.phpt
2009-05-23 15:37:36 +00:00

18 lines
351 B
PHP

--TEST--
Tries to create a SplFixedArray using the fromArray() function and a multi dimentional 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|unicode%(1) "1"
}
}