[RFC] Reflection for references
| From: | Nikita Popov | Date: | Tue, 15 Jan 2019 10:15:57 +0000 |
| Subject: | [RFC] Reflection for references | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-103738@lists.php.net to get a copy of this message | ||
Hi internals,
I'd like to propose the addition of a ReflectionReference class, as
described in the following RFC:
https://wiki.php.net/rfc/reference_reflection
This topic was previously discussed at https://externals.io/message/102638.
The TL;DR is that some libraries need a way to detect references and
determine whether two references are the same. They previously used an ugly
hack to achieve this, but this hack will no longer (reliably) work due to
the introduction of typed properties, so we need to do something about this
for the 7.4 release.
Regards,
Nikita