Lines Matching refs:array_fill

2 Test array_fill() function : usage variations  - unexpected values for 'num' argument
5 /* Prototype : proto array array_fill(int start_key, int num, mixed val)
11 * testing array_fill() by passing different unexpected values for 'num' argument
14 echo "*** Testing array_fill() : usage variations ***\n";
82 // check the working of array_fill
83 echo "--- Testing array_fill() with different values for 'num' arg ---\n";
90 var_dump( array_fill($start_key,$num,$val) );
98 *** Testing array_fill() : usage variations ***
99 --- Testing array_fill() with different values for 'num' arg ---
109 Warning: array_fill(): Number of elements can't be negative in %s on line %d
132 Warning: array_fill() expects parameter 2 to be int, array given in %s on line %d
136 Warning: array_fill() expects parameter 2 to be int, array given in %s on line %d
140 Warning: array_fill() expects parameter 2 to be int, array given in %s on line %d
144 Warning: array_fill() expects parameter 2 to be int, array given in %s on line %d
148 Warning: array_fill() expects parameter 2 to be int, array given in %s on line %d
174 Warning: array_fill() expects parameter 2 to be int, string given in %s on line %d
178 Warning: array_fill() expects parameter 2 to be int, string given in %s on line %d
182 Warning: array_fill() expects parameter 2 to be int, string given in %s on line %d
186 Warning: array_fill() expects parameter 2 to be int, string given in %s on line %d
190 Warning: array_fill() expects parameter 2 to be int, object given in %s on line %d