Home
last modified time | relevance | path

Searched refs:start_key (Results 1 – 11 of 11) sorted by relevance

/PHP-5.3/ext/standard/tests/array/
H A Darray_fill_error.phpt5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
19 $start_key = 0;
23 var_dump( array_fill($start_key,$num,$val, $extra_arg) );
27 $start_key = 0;
29 var_dump( array_fill($start_key,$num) );
33 var_dump( array_fill($start_key,$num,$val) );
37 var_dump( array_fill($start_key,$num,$val) );
H A Darray_fill_variation1.phpt2 Test array_fill() function : usage variations - unexpected values for 'start_key' argument
9 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
10 …* Description: Create an array containing num elements starting with index start_key each initiali…
15 * testing array_fill() by passing different unexpected value for 'start_key' argument
42 //array of different values for 'start_key' argument
90 // loop through each element of the array for start_key
92 echo "--- Testing array_fill() with different values for 'start_key' arg ---\n";
97 $start_key = $values[$index];
99 var_dump( array_fill($start_key,$num,$val) );
111 --- Testing array_fill() with different values for 'start_key' arg ---
H A Darray_fill_variation1_64bit.phpt2 Test array_fill() function : usage variations - unexpected values for 'start_key' argument
9 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
10 …* Description: Create an array containing num elements starting with index start_key each initiali…
15 * testing array_fill() by passing different unexpected value for 'start_key' argument
42 //array of different values for 'start_key' argument
90 // loop through each element of the array for start_key
92 echo "--- Testing array_fill() with different values for 'start_key' arg ---\n";
97 $start_key = $values[$index];
99 var_dump( array_fill($start_key,$num,$val) );
111 --- Testing array_fill() with different values for 'start_key' arg ---
H A Darray_fill_variation4.phpt5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
14 $start_key = 0;
39 var_dump( array_fill($start_key,$num,array_fill($start_key,$num,$val)) );
H A Darray_fill_basic.phpt5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
13 $start_key = 0 ;
38 var_dump( array_fill($start_key,$num,$val) );
H A Darray_fill_variation3.phpt5 /* Prototype : array array_fill(int $start_key, int $num, mixed $val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
17 $start_key = 0;
59 var_dump( array_fill($start_key , $num , $val) );
H A Darray_fill_variation5.phpt5 /* Prototype : array array_fill(int $start_key, int $num, mixed $val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
17 $start_key = 0;
48 var_dump( array_fill($start_key , $num , $val) );
H A Darray_fill_variation2.phpt5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
17 $start_key = 0;
90 var_dump( array_fill($start_key,$num,$val) );
H A Darray_fill_object.phpt5 /* Prototype : array array_fill(int $start_key, int $num, mixed $val)
6 …* Description: Create an array containing num elements starting with index start_key each initiali…
17 $start_key = 0;
199 var_dump( array_fill($start_key,$num,$val) );
/PHP-5.3/ext/standard/
H A Darray.c1543 long start_key, num; in PHP_FUNCTION() local
1545 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "llz", &start_key, &num, &val) == FAILURE) { in PHP_FUNCTION()
1558 zend_hash_index_update(Z_ARRVAL_P(return_value), start_key, &val, sizeof(zval *), NULL); in PHP_FUNCTION()
H A Dbasic_functions.c344 ZEND_ARG_INFO(0, start_key)

Completed in 46 milliseconds