]> granicus.if.org Git - php/commit
Fix variance checks on resolved union types
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 3 Nov 2020 13:15:05 +0000 (14:15 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 3 Nov 2020 13:19:15 +0000 (14:19 +0100)
commitee934f8245b58e1a557ed7b3f303f2d9d7cd23a6
tree36afbbd345d25af61a7e14a01b5c8d97a7f19175
parent51b5f7d67d639fedcc12451a457f09f493f7db34
Fix variance checks on resolved union types

This is a bit annoying: When preloading is used, types might be
resolved during inheritance checks, so we need to deal with CE
types rather than just NAME types everywhere.
Zend/zend_inheritance.c
ext/opcache/tests/preload_variance.inc