You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a POC for spl_object_id(object $x) : int
https://github.com/runkit7/runkit_object_id is a C module which
implements the same functionality (Without obfuscation)
Pending question: Can `sizeof(zend_long)` be > `sizeof(intptr_t)`
- If so, detect that condition at compile time and return a binary string
with that many bytes, instead.
Also, can two PHP "object"s have the same object id,
but different object handlers? (E.g. iterator of a class)
- If that is so, then document if this case is possible, but keep behaving the same way.
0 commit comments