Lines Matching refs:input
2 Test array_pad() function : usage variations - two dimensional array for 'input' argument
5 /* Prototype : array array_pad(array $input, int $pad_size, mixed $pad_value)
6 * Description: Returns a copy of input array padded with pad_value to size pad_size
11 * Passing two dimensional array to $input argument and testing whether
16 echo "*** Testing array_pad() : Passing 2-D array to \$input argument ***\n";
19 $input = array (
30 echo "-- Entire 2-d array for \$input argument --\n";
31 var_dump( array_pad($input, $pad_size, $pad_value) ); // positive 'pad_size'
32 var_dump( array_pad($input, -$pad_size, $pad_value) ); // negative 'pad_size'
35 echo "-- Sub array for \$input argument --\n";
36 var_dump( array_pad($input[1], $pad_size, $pad_value) ); // positive 'pad_size'
37 var_dump( array_pad($input[1], -$pad_size, $pad_value) ); // negative 'pad_size'
42 *** Testing array_pad() : Passing 2-D array to $input argument ***
43 -- Entire 2-d array for $input argument --
102 -- Sub array for $input argument --