Searched refs:fromArray (Results 1 – 13 of 13) sorted by relevance
/PHP-8.0/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_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_change_size_during_iteration.phpt | 6 $splFixedArray = SplFixedArray::fromArray(["a","b","c"]); 17 $splFixedArray = SplFixedArray::fromArray(["a","b","c"]); 26 $splFixedArray = SplFixedArray::fromArray(["a","b","c"]);
|
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 | 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 | SplArray_fromArray.phpt | 2 Check that SplArray::fromArray will not allow integer overflows 11 $splArray->fromArray($array);
|
H A D | SplFixedArray_nested_foreach.phpt | 6 $array = SplFixedArray::fromArray([0, 1]);
|
H A D | fixedarray_021.phpt | 31 /* fromArray() from empty array */ 33 $d->fromArray(array());
|
/PHP-8.0/Zend/tests/ |
H A D | bug80037.phpt | 10 public static function fromArray(array $props): self 25 var_dump(A::fromArray(['a' => 'foo']));
|
/PHP-8.0/ext/spl/ |
H A D | spl_fixedarray_arginfo.h | 47 ZEND_METHOD(SplFixedArray, fromArray); 62 …ZEND_ME(SplFixedArray, fromArray, arginfo_class_SplFixedArray_fromArray, ZEND_ACC_PUBLIC|ZEND_ACC_…
|
H A D | spl_fixedarray.stub.php | 19 public static function fromArray(array $array, bool $preserveKeys = true) {} function in SplFixedArray
|
H A D | spl_fixedarray.c | 625 PHP_METHOD(SplFixedArray, fromArray) in PHP_METHOD() argument
|
/PHP-8.0/ext/opcache/tests/jit/ |
H A D | bug80861.phpt | 59 public static function fromArray(array $from): Matrix 109 $m = Matrix::fromArray($a);
|
Completed in 15 milliseconds