diff options
author | Bogdan Padalko <pinepain@gmail.com> | 2016-01-12 01:26:34 +0200 |
---|---|---|
committer | Nikita Popov <nikic@php.net> | 2016-01-12 16:47:21 +0100 |
commit | 2b4625d68737c553c1fa50a5442bc976814ae855 (patch) | |
tree | 585ef9cf6cf4a3ce759308daa3e9f34dccf7ca80 /Zend/zend_inheritance.c | |
parent | bec0aec11691fa712750206d1b2cdd34bf6fc5a5 (diff) | |
download | php-git-2b4625d68737c553c1fa50a5442bc976814ae855.tar.gz |
Remove obj handlers ptr value from spl_object_hash()
We still keep the same output length, for people who rely on the
return value having a specific format. The handler part will now
simply be always the same (it was the same nearly always anyway).
The motivation behind this change is to avoid breaking
spl_object_hash() and SplObjectStorage if an extension changes the
handlers table of an object. This has come up, for example, in
weakref implementations.
Diffstat (limited to 'Zend/zend_inheritance.c')
0 files changed, 0 insertions, 0 deletions