Lines Matching refs:input
2 Test array_filter() function : usage variations - 'input' array containing references
5 /* Prototype : array array_filter(array $input [, callback $callback])
11 * Passing 'input' array which contains elements as reference to other data
14 echo "*** Testing array_filter() : usage variations - 'input' containing references ***\n";
17 /* Prototype : bool callback(array $input)
18 * Parameter : $input - array of which each element need to be checked in function
20 * Description : This function checks each element of an input array if element > 5 then
23 function callback($input)
25 if($input > 5) {
36 $input = array(&$value1, 10, &$value2, 'value');
39 var_dump( array_filter($input, 'callback') );
42 var_dump( array_filter($input) );
47 *** Testing array_filter() : usage variations - 'input' containing references ***