Go to the source code of this file.
Functions | |
array_safe_filter (array &$array, array $exclude=array()) | |
callback ($fct) | |
Create an annonymous function. | |
array_cartesian_product () | |
Calculates the cartesian product of any number of array in parameter. |
Calculates the cartesian product of any number of array in parameter.
mixed | $a | |
mixed | $b | [...] |
Definition at line 62 of file functions.php.
array_safe_filter | ( | array &$ | array, |
array $ | exclude = array() |
||
) |
all null, false or empty string values from an array
The keys are preserved.
array | $array | |
array | $exclude | [optional] [default array() ] Additionnal values to exclude |
Definition at line 23 of file functions.php.
callback | ( | $ | fct | ) |
Create an annonymous function.
Usage:
$alpha = callback('function ($a,$b) { return $a+$b+$c+$d; }');
Returns the anonymous function name
string | $fct |
Definition at line 45 of file functions.php.