Home
last modified time | relevance | path

Searched refs:array_fill (Results 1 – 25 of 33) sorted by relevance

12

/PHP-8.2/ext/standard/tests/array/
H A Darray_fill_error.phpt2 Test array_fill() function : error conditions
5 echo "*** Testing array_fill() : error conditions ***\n";
7 // calling array_fill with negative values for 'num' parameter
13 var_dump( array_fill($start_key,$num,$val) );
20 *** Testing array_fill() : error conditions ***
21 array_fill(): Argument #2 ($count) must be greater than or equal to 0
H A Darray_fill_variation3.phpt2 Test array_fill() function : usage variations - unexpected values for 'val' argument
6 * testing array_fill() by passing different unexpected values for 'val' argument
9 echo "*** Testing array_fill() : usage variations ***\n";
46 // check the working of array_fill()
47 echo "--- Testing array_fill() with different values for 'val' argument ---\n";
54 var_dump( array_fill($start_key , $num , $val) );
62 *** Testing array_fill() : usage variations ***
63 --- Testing array_fill() with different values for 'val' argument ---
H A Darray_fill_variation4.phpt2 Test array_fill() function : usage variations - using return value of array_fill for 'val' argument
5 /* passing array_fill() as the 'val' argument in array_fill() function */
7 echo "*** Testing array_fill() : variation ***\n";
34 var_dump( array_fill($start_key,$num,array_fill($start_key,$num,$val)) );
42 *** Testing array_fill() : variation ***
H A Darray_fill_basic.phpt2 Test array_fill() function : basic functionality
5 echo "*** Testing array_fill() : basic functionality ***\n";
7 // calling the array_fill with all possible valid values for 'val' argument
33 var_dump( array_fill($start_key,$num,$val) );
41 *** Testing array_fill() : basic functionality ***
H A Darray_fill_variation5.phpt2 Test array_fill() function : usage variations - different types of array values for 'val' argument
6 * testing array_fill() by passing different types of array values for 'val' argument
9 echo "*** Testing array_fill() : usage variations ***\n";
35 // check the working of array_fill()
36 echo "--- Testing array_fill() with different types of array values for 'val' argument ---\n";
43 var_dump( array_fill($start_key , $num , $val) );
51 *** Testing array_fill() : usage variations ***
52 --- Testing array_fill() with different types of array values for 'val' argument ---
H A Dbug72116.phpt2 Bug #72116 (insertion after array_fill fails)
6 $x = array_fill(0, 1, '..');
H A Darray_multisort_stability.phpt8 $ary1 = array_fill(0, 100, 0);
9 $origAry2 = $ary2 = array_merge(...array_fill(0, 50, [0, '0']));
H A Dbug61058.phpt2 Bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
7 array_fill(PHP_INT_MAX, 2, '*');
H A Darray_fill_variation6.phpt2 array_fill(): last element
5 $a = array_fill(PHP_INT_MAX, 1, "foo");
H A Darray_fill_object.phpt2 Test array_fill() function : usage variations - various object values for 'val' argument
6 * testing array_fill() by passing various object values for 'val' argument
9 echo "*** Testing array_fill() : usage variations ***\n";
186 // check the working of array_fill()
187 echo "--- Testing array_fill() with different object values for 'val' argument ---\n";
194 var_dump( array_fill($start_key,$num,$val) );
202 *** Testing array_fill() : usage variations ***
203 --- Testing array_fill() with different object values for 'val' argument ---
H A Dasort_stability.phpt6 $array = $origArray = array_fill(0, 1000, null);
H A Dbug61730.phpt5 $myArray = array_fill(0, 10, 1);
H A Dnegative_index.phpt6 $a = array_fill(-2, 3, true);
/PHP-8.2/ext/pcntl/tests/
H A Dasync_signals_2.phpt21 array_fill(0, 360, 1),
22 array_fill(0, 360, 0)
/PHP-8.2/Zend/tests/arg_unpack/
H A Dmany_args.phpt10 $array = array_fill(0, 10000, 42);
/PHP-8.2/Zend/tests/generators/
H A Dbug71297.phpt7 yield array_fill(0, 10000, 4);
/PHP-8.2/Zend/tests/
H A Dvm_stack_with_arg_extend.phpt10 $a = array_fill(0, 1024, true);
H A Dbug61273.phpt10 $args = array_fill(0, 64 * 1024 - 64, 0);
H A Dconcat_003.phpt16 $datas = array_fill(0, 220000, [
H A Dbug78010.phpt24 foreach (array_fill(0, 389, 'x') as &$params) { //Will not trigger <389
/PHP-8.2/ext/openssl/tests/
H A Dbug71475.phpt9 openssl_seal($_, $_, $_, array_fill(0,64,0));
/PHP-8.2/ext/standard/tests/streams/
H A Dbug61115.phpt6 $arrayLarge = array_fill(0, 113663, '*');
/PHP-8.2/ext/opcache/tests/jit/
H A Dbug77857.phpt14 $arr = array_fill(0, 1, 1.0);
/PHP-8.2/ext/spl/tests/
H A Dbug67539.phpt6 $it = new ArrayIterator(array_fill(0,2,'X'), 1 );
/PHP-8.2/ext/mbstring/
H A Dgen_rare_cp_bitvec.php9 $bitvec = array_fill(0, (0xFFFF / 32) + 1, 0xFFFFFFFF);

Completed in 23 milliseconds

12