Annotation of embedaddon/php/ext/spl/tests/SplFixedArray_fromarray_param_multiarray.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Tries to create a SplFixedArray using the fromArray() function and a multi dimentional array.
3: --CREDITS--
4: Philip Norton philipnorton42@gmail.com
5: --FILE--
6: <?php
7: $array = SplFixedArray::fromArray(array(array('1')));
8: var_dump($array);
9: ?>
10: --EXPECTF--
11: object(SplFixedArray)#1 (1) {
12: [0]=>
13: array(1) {
14: [0]=>
15: %string|unicode%(1) "1"
16: }
17: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>