Lines Matching refs:array_fill

2 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)
15 * testing array_fill() by passing different unexpected value for 'start_key' argument
18 echo "*** Testing array_fill() : usage variations ***\n";
91 // check the working of array_fill()
92 echo "--- Testing array_fill() with different values for 'start_key' arg ---\n";
99 var_dump( array_fill($start_key,$num,$val) );
110 *** Testing array_fill() : usage variations ***
111 --- Testing array_fill() with different values for 'start_key' arg ---
149 Warning: array_fill() expects parameter 1 to be int, array given in %s on line %d
153 Warning: array_fill() expects parameter 1 to be int, array given in %s on line %d
157 Warning: array_fill() expects parameter 1 to be int, array given in %s on line %d
161 Warning: array_fill() expects parameter 1 to be int, array given in %s on line %d
165 Warning: array_fill() expects parameter 1 to be int, array given in %s on line %d
211 Warning: array_fill() expects parameter 1 to be int, string given in %s on line %d
215 Warning: array_fill() expects parameter 1 to be int, string given in %s on line %d
219 Warning: array_fill() expects parameter 1 to be int, string given in %s on line %d
223 Warning: array_fill() expects parameter 1 to be int, string given in %s on line %d
227 Warning: array_fill() expects parameter 1 to be int, object given in %s on line %d
245 Warning: array_fill() expects parameter 1 to be int, resource given in %s on line %d