Searched refs:fromArray (Results 1 – 10 of 10) sorted by relevance
/PHP-5.6/ext/spl/tests/ |
H A D | fixedarray_020.phpt | 2 SPL: FixedArray: fromArray/toArray + get_properties 6 $fa = SplFixedArray::fromArray($a, false); 9 $fa = SplFixedArray::fromArray($a, true); 14 SplFixedArray::fromArray(array("foo"=>"bar"), false); 21 SplFixedArray::fromArray(array("foo"=>"bar"), true);
|
H A D | SplFixedArray_fromArray_invalid_parameter_001.phpt | 2 pass an integer into fromArray() 7 echo SplFixedArray::fromArray(17954); 10 Warning: SplFixedArray::fromArray() expects parameter 1 to be array, integer given in %s on line %d
|
H A D | SplFixedArray_fromArray_invalid_parameter_002.phpt | 2 pass a string into fromArray() 7 echo SplFixedArray::fromArray('hello'); 10 Warning: SplFixedArray::fromArray() expects parameter 1 to be array, %unicode_string_optional% give…
|
H A D | SplFixedArray_fromarray_param_multiarray.phpt | 2 Tries to create a SplFixedArray using the fromArray() function and a multi dimensional array. 7 $array = SplFixedArray::fromArray(array(array('1')));
|
H A D | SplFixedArray_fromarray_param_boolean.phpt | 7 $array = SplFixedArray::fromArray(true); 10 Warning: SplFixedArray::fromArray() expects parameter 1 to be array, boolean given in %s on line %d
|
H A D | SplArray_fromArray.phpt | 2 Check that SplArray::fromArray will not allow integer overflows 11 $splArray->fromArray($array);
|
H A D | SplFixedArray_fromarray_indexes.phpt | 2 Create a SplFixedArray from an array using the fromArray() function use the default behaviour of pr… 7 $array = SplFixedArray::fromArray(array(1 => 1,
|
H A D | SplFixedArray_fromarray_non_indexes.phpt | 2 Create a SplFixedArray from an array using the fromArray() function don't try to preserve the index… 7 $array = SplFixedArray::fromArray(array(1 => 1,
|
H A D | fixedarray_021.phpt | 31 /* fromArray() from empty array */ 33 $d->fromArray(array());
|
/PHP-5.6/ext/spl/ |
H A D | spl_fixedarray.c | 688 SPL_METHOD(SplFixedArray, fromArray) in SPL_METHOD() argument 1122 …SPL_ME(SplFixedArray, fromArray, arginfo_fixedarray_fromArray, ZEND_ACC_PUBLIC|ZEND_ACC_ST…
|
Completed in 25 milliseconds