Home
last modified time | relevance | path

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

/PHP-8.2/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());
/PHP-8.2/ext/opcache/tests/jit/
H A Dgh12382.phpt27 $matrix = SplFixedArray::fromArray(
29 fn (array $arr): SplFixedArray => SplFixedArray::fromArray($arr),
H A Dbug80861.phpt60 public static function fromArray(array $from): Matrix
110 $m = Matrix::fromArray($a);
/PHP-8.2/Zend/tests/
H A Dbug80037.phpt10 public static function fromArray(array $props): self
25 var_dump(A::fromArray(['a' => 'foo']));
/PHP-8.2/ext/spl/
H A Dspl_fixedarray.stub.php23 public static function fromArray(array $array, bool $preserveKeys = true): SplFixedArray {} function in SplFixedArray
H A Dspl_fixedarray_arginfo.h64 ZEND_METHOD(SplFixedArray, fromArray);
82 …ZEND_ME(SplFixedArray, fromArray, arginfo_class_SplFixedArray_fromArray, ZEND_ACC_PUBLIC|ZEND_ACC_…
H A Dspl_fixedarray.c725 PHP_METHOD(SplFixedArray, fromArray) in PHP_METHOD() argument

Completed in 21 milliseconds