]> granicus.if.org Git - php/commit
Fix preloading of union typed property inherited from internal class
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 14 Jul 2020 13:24:58 +0000 (15:24 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 14 Jul 2020 13:24:58 +0000 (15:24 +0200)
commitb702ad14c958befe6b2e9914959d88fa955d989d
tree8ef98312f2d26cca5e642098e8fbedc2ac360e6a
parent7e6b2e2e2324b7a2bba3da1ad3ae4837a1052262
Fix preloading of union typed property inherited from internal class

Tricky edge case: We inherit a property from an internal class,
in which case no property duplication takes place. We should not
try to persist the property info in that case. This didn't really
matter previously, but now that the property has some non-interned
owned data (the type), we need to make sure we don't try to free
that.
ext/opcache/zend_persist.c
ext/opcache/zend_persist_calc.c