Multiple functions using array_map

Viewed 5034

array_map accepts string as its first argument. Is there a way, to use arrays instead of strings, like:

.... array_map( array('trim','urlencode'), $my_array);

so I could attach multiple functions.

2 Answers
Related