Home
last modified time | relevance | path

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

12

/php-src/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_error2.phpt2 Test array_fill() function : error conditions - count is too large
9 // calling array_fill() with 'count' larger than INT_MAX
11 $array = array_fill(0, $intMax+1, 1);
16 // calling array_fill() with 'count' equals to INT_MAX
17 $array = array_fill(0, $intMax, 1);
21 array_fill(): Argument #2 ($count) is too large
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 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 Dnegative_index.phpt6 $a = array_fill(-2, 3, true);
/php-src/ext/standard/tests/array/sort/
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 Dasort_stability.phpt6 $array = $origArray = array_fill(0, 1000, null);
/php-src/ext/pcntl/tests/
H A Dasync_signals_2.phpt21 array_fill(0, 360, 1),
22 array_fill(0, 360, 0)
/php-src/Zend/tests/arg_unpack/
H A Dmany_args.phpt10 $array = array_fill(0, 10000, 42);
/php-src/Zend/tests/generators/
H A Dbug71297.phpt7 yield array_fill(0, 10000, 4);
/php-src/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);
/php-src/ext/openssl/tests/
H A Dbug71475.phpt9 openssl_seal($_, $_, $_, array_fill(0,64,0));
/php-src/ext/opcache/tests/jit/
H A Dbug77857.phpt13 $arr = array_fill(0, 1, 1.0);
H A Dgh15903.phpt11 foreach (array_fill(0, 389, 'x') as &$params) { //Will not trigger <389
/php-src/ext/standard/tests/streams/
H A Dbug61115.phpt6 $arrayLarge = array_fill(0, 113663, '*');
/php-src/ext/spl/tests/
H A Dbug67539.phpt6 $it = new ArrayIterator(array_fill(0,2,'X'), 1 );
/php-src/ext/standard/tests/array/array_walk/
H A Dbug61730.phpt5 $myArray = array_fill(0, 10, 1);
/php-src/ext/mbstring/
H A Dgen_rare_cp_bitvec.php9 $bitvec = array_fill(0, (0xFFFF / 32) + 1, 0xFFFFFFFF);

Completed in 21 milliseconds

12