# "Anonymous functions are currently implemented using the Closure class. This is an implementation detail and should not be relied upon."

- Thread: https://externals.io/message/55235
- Original archive: https://news-web.php.net/php.internals/55235
- Started by ar@ez.no on 2011-09-05T19:59:47+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #55235 — ar@ez.no — 2011-09-05T19:59:47+00:00

URL: https://externals.io/message/55235#55235

Despite several mentions in the manual, lots of php 5.3 code uses this with
instanceof or in function signature (eg: Doctrine 2).

If you don't want to support this in the future, could this be cleaned-up in
5.4?
( the longer you wait, the more you break )

Possibly by creating a interface called Closure, and change the name of the
actual class + implement the Closure interface..



Best Regards / Med vennlig hilsen
André R.
