Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Actually, not really.

Your code breaks on any PHP "callable" http://php.net/manual/en/language.types.callable.php of which Closures are just one.



I'm well aware of that.

Although it seems PHP tried to treat it as a string callable IIRC.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: