mirror of
https://github.com/php/php-src.git
synced 2024-09-29 13:56:09 +00:00
4dc994571d
Conflicts: ext/ftp/ftp.h ext/pcre/pcrelib/pcre_printint.c ext/pcre/pcrelib/sljit/sljitLir.c ext/pcre/pcrelib/sljit/sljitLir.h ext/pcre/pcrelib/sljit/sljitNativeARM_32.c ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c ext/pgsql/pgsql.c ext/phar/func_interceptors.c ext/soap/soap.c ext/standard/image.c
18 lines
351 B
PHP
18 lines
351 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|unicode%(1) "1"
|
|
}
|
|
}
|