Searched refs:fromArray (Results 1 – 15 of 15) sorted by relevance
/php-src/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_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_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_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 | 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_nested_foreach.phpt | 6 $array = SplFixedArray::fromArray([0, 1]);
|
H A D | fixedarray_021.phpt | 31 /* fromArray() from empty array */ 33 $d->fromArray(array());
|
H A D | SplFixedArray_immediate_gc.phpt | 10 $array = SplFixedArray::fromArray([new HasDestructor()]);
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh12382.phpt | 27 $matrix = SplFixedArray::fromArray( 29 fn (array $arr): SplFixedArray => SplFixedArray::fromArray($arr),
|
H A D | bug80861.phpt | 59 public static function fromArray(array $from): Matrix 109 $m = Matrix::fromArray($a);
|
/php-src/Zend/tests/ |
H A D | bug80037.phpt | 10 public static function fromArray(array $props): self 25 var_dump(A::fromArray(['a' => 'foo']));
|
/php-src/ext/spl/ |
H A D | spl_fixedarray.stub.php | 24 public static function fromArray(array $array, bool $preserveKeys = true): SplFixedArray {} function in SplFixedArray
|
H A D | spl_fixedarray_arginfo.h | 63 ZEND_METHOD(SplFixedArray, fromArray); 80 …ZEND_ME(SplFixedArray, fromArray, arginfo_class_SplFixedArray_fromArray, ZEND_ACC_PUBLIC|ZEND_ACC_…
|
H A D | spl_fixedarray.c | 700 PHP_METHOD(SplFixedArray, fromArray) in PHP_METHOD() argument
|
Completed in 15 milliseconds