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 must be positive in %s on line %d
126 Warning: array_fill(): Number of elements must be positive in %s on line %d
130 Warning: array_fill(): Number of elements must be positive in %s on line %d
134 Warning: array_fill() expects parameter 2 to be long, array given in %s on line %d
138 Warning: array_fill() expects parameter 2 to be long, array given in %s on line %d
142 Warning: array_fill() expects parameter 2 to be long, array given in %s on line %d
146 Warning: array_fill() expects parameter 2 to be long, array given in %s on line %d
150 Warning: array_fill() expects parameter 2 to be long, array given in %s on line %d
154 Warning: array_fill(): Number of elements must be positive in %s on line %d
158 Warning: array_fill(): Number of elements must be positive in %s on line %d
167 Warning: array_fill(): Number of elements must be positive in %s on line %d
176 Warning: array_fill(): Number of elements must be positive in %s on line %d
180 Warning: array_fill() expects parameter 2 to be long, string given in %s on line %d
184 Warning: array_fill() expects parameter 2 to be long, string given in %s on line %d
188 Warning: array_fill() expects parameter 2 to be long, string given in %s on line %d
192 Warning: array_fill() expects parameter 2 to be long, string given in %s on line %d
196 Warning: array_fill() expects parameter 2 to be long, object given in %s on line %d
200 Warning: array_fill(): Number of elements must be positive in %s on line %d
204 Warning: array_fill(): Number of elements must be positive in %s on line %d