https://php.net/spl_object_id requires php 7.2+, and the latest releases of prophecy also require php 7.2+.
(aside: it has polyfills such as symfony/polyfill-php72)
I'd personally find the object ids easier to read/distinguish from each other than the spl_object_hash/SplObjectStorage
https://php.net/spl_object_id requires php 7.2+, and the latest releases of prophecy also require php 7.2+. (aside: it has polyfills such as symfony/polyfill-php72)
I'd personally find the object ids easier to read/distinguish from each other than the spl_object_hash/SplObjectStorage
Current:
Proposed