3 ms·
Actually, 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.calla
by encoderer 14y ago
Actually, 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.