Home
last modified time | relevance | path

Searched refs:fromArray (Results 1 – 15 of 15) sorted by relevance

/php-src/ext/spl/tests/
H A Dfixedarray_020.phpt2 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 DSplFixedArray_change_size_during_iteration.phpt6 $splFixedArray = SplFixedArray::fromArray(["a","b","c"]);
17 $splFixedArray = SplFixedArray::fromArray(["a","b","c"]);
26 $splFixedArray = SplFixedArray::fromArray(["a","b","c"]);
H A DSplFixedArray_fromarray_param_multiarray.phpt2 Tries to create a SplFixedArray using the fromArray() function and a multi dimensional array.
7 $array = SplFixedArray::fromArray(array(array('1')));
H A DSplFixedArray_fromarray_non_indexes.phpt2 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 DSplArray_fromArray.phpt2 Check that SplArray::fromArray will not allow integer overflows
11 $splArray->fromArray($array);
H A DSplFixedArray_fromarray_indexes.phpt2 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 DSplFixedArray_nested_foreach.phpt6 $array = SplFixedArray::fromArray([0, 1]);
H A Dfixedarray_021.phpt31 /* fromArray() from empty array */
33 $d->fromArray(array());
H A DSplFixedArray_immediate_gc.phpt10 $array = SplFixedArray::fromArray([new HasDestructor()]);
/php-src/ext/opcache/tests/jit/
H A Dgh12382.phpt27 $matrix = SplFixedArray::fromArray(
29 fn (array $arr): SplFixedArray => SplFixedArray::fromArray($arr),
H A Dbug80861.phpt59 public static function fromArray(array $from): Matrix
109 $m = Matrix::fromArray($a);
/php-src/Zend/tests/
H A Dbug80037.phpt10 public static function fromArray(array $props): self
25 var_dump(A::fromArray(['a' => 'foo']));
/php-src/ext/spl/
H A Dspl_fixedarray.stub.php24 public static function fromArray(array $array, bool $preserveKeys = true): SplFixedArray {} function in SplFixedArray
H A Dspl_fixedarray_arginfo.h63 ZEND_METHOD(SplFixedArray, fromArray);
80 …ZEND_ME(SplFixedArray, fromArray, arginfo_class_SplFixedArray_fromArray, ZEND_ACC_PUBLIC|ZEND_ACC_…
H A Dspl_fixedarray.c700 PHP_METHOD(SplFixedArray, fromArray) in PHP_METHOD() argument

Completed in 15 milliseconds