Re:PHP: A fractal of bad design
by ceol on Tuesday April 10, 2012 @08:50PM
(#3825345)
PHP doesn't allow you to pass functions and classes as arguments.
[ Parent
| on HN ]
You can. Here's my code as an example:
https://github.com/gigablah/fsphinxphp/blob/master/src/FSphi...
Note the $getter parameter.