Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/array/
H A Darray_fill_error.phpt2 Test array_fill() function : error conditions
5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
11 echo "*** Testing array_fill() : error conditions ***\n";
14 echo "-- Testing array_fill() function with Zero arguments --\n";
15 var_dump( array_fill() );
23 var_dump( array_fill($start_key,$num,$val, $extra_arg) );
29 var_dump( array_fill($start_key,$num) );
31 //calling array_fill with negative values for 'num' parameter
33 var_dump( array_fill($start_key,$num,$val) );
38 *** Testing array_fill() : error conditions ***
[all …]
H A Darray_fill_variation3.phpt2 Test array_fill() function : usage variations - unexpected values for 'val' argument
5 /* Prototype : array array_fill(int $start_key, int $num, mixed $val)
11 * testing array_fill() by passing different unexpected values for 'val' argument
14 echo "*** Testing array_fill() : usage variations ***\n";
51 // check the working of array_fill()
52 echo "--- Testing array_fill() with different values for 'val' argument ---\n";
59 var_dump( array_fill($start_key , $num , $val) );
67 *** Testing array_fill() : usage variations ***
68 --- 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 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
10 /* passing array_fill() as the 'val' argument in array_fill() function */
12 echo "*** Testing array_fill() : variation ***\n";
39 var_dump( array_fill($start_key,$num,array_fill($start_key,$num,$val)) );
47 *** Testing array_fill() : variation ***
H A Darray_fill_basic.phpt2 Test array_fill() function : basic functionality
5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
10 echo "*** Testing array_fill() : basic functionality ***\n";
12 // calling the array_fill with all possible valid values for 'val' argument
38 var_dump( array_fill($start_key,$num,$val) );
46 *** Testing array_fill() : basic functionality ***
H A Dbug61058.phpt2 Bug #61058 (array_fill leaks if start index is PHP_INT_MAX)
5 array_fill(PHP_INT_MAX, 2, '*');
8 Warning: array_fill(): Cannot add element to the array as the next element is already occupied in %…
H A Darray_fill_variation5.phpt2 Test array_fill() function : usage variations - different types of array values for 'val' argument
5 /* Prototype : array array_fill(int $start_key, int $num, mixed $val)
11 * testing array_fill() by passing different types of array values for 'val' argument
14 echo "*** Testing array_fill() : usage variations ***\n";
40 // check the working of array_fill()
41 echo "--- Testing array_fill() with different types of array values for 'val' argument ---\n";
48 var_dump( array_fill($start_key , $num , $val) );
56 *** Testing array_fill() : usage variations ***
57 --- 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_fill_object.phpt2 Test array_fill() function : usage variations - various object values for 'val' argument
5 /* Prototype : array array_fill(int $start_key, int $num, mixed $val)
11 * testing array_fill() by passing various object values for 'val' argument
14 echo "*** Testing array_fill() : usage variations ***\n";
191 // check the working of array_fill()
192 echo "--- Testing array_fill() with different object values for 'val' argument ---\n";
199 var_dump( array_fill($start_key,$num,$val) );
207 *** Testing array_fill() : usage variations ***
208 --- Testing array_fill() with different object values for 'val' argument ---
H A Dbug61730.phpt5 $myArray = array_fill(0, 10, 1);
H A Darray_fill.phpt2 basic array_fill test
15 $output = array_fill($start, $num, $value);
/PHP-7.4/Zend/tests/arg_unpack/
H A Dmany_args.phpt10 $array = array_fill(0, 10000, 42);
/PHP-7.4/Zend/tests/generators/
H A Dbug71297.phpt7 yield array_fill(0, 10000, 4);
/PHP-7.4/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.phpt23 foreach (array_fill(0, 389, 'x') as &$params) { //Will not trigger <389
/PHP-7.4/ext/standard/tests/streams/
H A Dbug61115.phpt6 $arrayLarge = array_fill(0, 113663, '*');
/PHP-7.4/ext/openssl/tests/
H A Dbug71475.phpt10 openssl_seal($_, $_, $_, array_fill(0,64,0));
/PHP-7.4/ext/spl/tests/
H A Dbug67539.phpt6 $it = new ArrayIterator(array_fill(0,2,'X'), 1 );
/PHP-7.4/ext/pdo_pgsql/tests/
H A Dbug66584.phpt47 $bind = join(', ', array_fill(0, count($data), '?'));
/PHP-7.4/ext/standard/
H A Dphp_array.h54 PHP_FUNCTION(array_fill);
H A Dbasic_functions.c3352 PHP_FE(array_fill, arginfo_array_fill)
H A Darray.c2636 PHP_FUNCTION(array_fill) argument
/PHP-7.4/ext/mbstring/ucgendat/
H A Ducgendat.php108 $this->propRanges = array_fill(0, $this->numProps, []);
549 $gTable = array_fill(0, $gSize, 0x7fff);
/PHP-7.4/sapi/fpm/tests/
H A Dtester.inc642 $requests = array_fill(0, $requests, []);

Completed in 44 milliseconds