/PHP-5.4/ext/standard/tests/array/ |
H A D | array_fill_error.phpt | 2 Test array_fill() function : error conditions 11 echo "*** Testing array_fill() : error conditions ***\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) ); 35 //callin array_fill with 'num' equal to zero value 37 var_dump( array_fill($start_key,$num,$val) ); 42 *** Testing array_fill() : error conditions *** [all …]
|
H A D | array_fill_variation2.phpt | 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) 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 [all …]
|
H A D | array_fill_variation1.phpt | 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 long, array given in %sarray_fill_variation1.php on… [all …]
|
H A D | array_fill_variation1_64bit.phpt | 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 long, array given in %s on line %d [all …]
|
H A D | array_fill_variation3.phpt | 2 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 D | array_fill_variation4.phpt | 2 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 D | array_fill.phpt | 2 basic array_fill test 15 $output = array_fill($start, $num, $value); 27 Warning: array_fill(): Number of elements must be positive in %s on line %d 32 Warning: array_fill(): Number of elements must be positive in %s on line %d 37 Warning: array_fill(): Number of elements must be positive in %s on line %d 42 Warning: array_fill(): Number of elements must be positive in %s on line %d 47 Warning: array_fill(): Number of elements must be positive in %s on line %d 52 Warning: array_fill(): Number of elements must be positive in %s on line %d 141 Warning: array_fill(): Number of elements must be positive in %s on line %d 146 Warning: array_fill(): Number of elements must be positive in %s on line %d [all …]
|
H A D | array_fill_basic.phpt | 2 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 D | bug61058.phpt | 2 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 D | array_fill_variation5.phpt | 2 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 D | array_fill_object.phpt | 2 Test array_fill() function : usage variations - various object values for 'val' argument 7 /* Prototype : array array_fill(int $start_key, int $num, mixed $val) 13 * testing array_fill() by passing various object values for 'val' argument 16 echo "*** Testing array_fill() : usage variations ***\n"; 193 // check the working of array_fill() 194 echo "--- Testing array_fill() with different object values for 'val' argument ---\n"; 201 var_dump( array_fill($start_key,$num,$val) ); 209 *** Testing array_fill() : usage variations *** 210 --- Testing array_fill() with different object values for 'val' argument ---
|
H A D | array_fill_object_2_4.phpt | 2 Test array_fill() function : usage variations - various object values for 'val' argument 7 /* Prototype : array array_fill(int $start_key, int $num, mixed $val) 13 * testing array_fill() by passing various object values for 'val' argument 16 echo "*** Testing array_fill() : usage variations ***\n"; 193 // check the working of array_fill() 194 echo "--- Testing array_fill() with different object values for 'val' argument ---\n"; 201 var_dump( array_fill($start_key,$num,$val) ); 209 *** Testing array_fill() : usage variations *** 210 --- Testing array_fill() with different object values for 'val' argument ---
|
H A D | bug61730.phpt | 5 $myArray = array_fill(0, 10, 1);
|
/PHP-5.4/ext/standard/tests/streams/ |
H A D | bug61115.phpt | 6 $arrayLarge = array_fill(0, 113663, '*');
|
/PHP-5.4/ext/spl/tests/ |
H A D | bug67539.phpt | 6 $it = new ArrayIterator(array_fill(0,2,'X'), 1 );
|
/PHP-5.4/Zend/tests/ |
H A D | bug61273.phpt | 10 $args = array_fill(0, 64 * 1024 - 64, 0);
|
/PHP-5.4/ext/pdo_pgsql/tests/ |
H A D | bug66584.phpt | 46 $bind = join(', ', array_fill(0, count($data), '?'));
|
/PHP-5.4/ext/standard/ |
H A D | php_array.h | 56 PHP_FUNCTION(array_fill);
|
H A D | array.c | 1546 PHP_FUNCTION(array_fill) in PHP_FUNCTION() argument
|
H A D | basic_functions.c | 3296 PHP_FE(array_fill, arginfo_array_fill)
|
/PHP-5.4/ |
H A D | NEWS | 1817 . Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX). 2444 . Fixed bug #61058 (array_fill leaks if start index is PHP_INT_MAX).
|