2 ms·
>Also, this piece of code doesn't involve any closure. It looks like you don't know what a closure is. Yes it does, it executes what PHP calls a "Closure": htt
by TazeTSchnitzel 14y ago
>Also, this piece of code doesn't involve any closure. It looks like you don't know what a closure is.
Yes it does, it executes what PHP calls a "Closure": http://php.net/manual/en/class.closure.php http://php.net/manual/en/class.closure.php
- deleted 14y ago[deleted]
- encoderer 14y agoActually, not really. Your code breaks on any PHP "callable" http://php.net/manual/en/language.types.callable.php http://php.net/manual/en/language.types.callable.php of which Closures are just one.
- TazeTSchnitzel 14y agoI'm well aware of that. Although it seems PHP tried to treat it as a string callable IIRC.