Archive for September, 2009
is_callable()
Checks if the contents of a variable can be called as a function. For functions or object methods.
call_user_func_array()
Call a function dynamically. Give the function name and any parameters to pass to it as one array. Good for when you don’t know the number of parameters.
call_user_func()
Call a function dynamically. Give the function name and any parameters to pass to it. Can also be used with class methods.
array_walk_recursive()
Performs array_walk() and will do so again for each item of the array that is an array.
array_walk()
Applies a function to each key/value pair of an array but does not change the array.
array_map()
Applies a callback function on all the arrays given - using the elements from each of them one position at a time.
array_reduce()
“Gathers up” the values of an array - in a manner defined by the callback function named - and leaves you with a single value.
array_filter()
Filters an array through a function and returns an array containing only the elements for which the function returned true.
getcwd()
Get the current working directory.
chdir()
Change your working directory.
