]> granicus.if.org Git - php/commit
Fixed bug #78989
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 28 Jan 2020 09:41:11 +0000 (10:41 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 28 Jan 2020 09:43:15 +0000 (10:43 +0100)
commit1146bdb9b21cdf725dd5ea8882221356779926b6
treef3d9715f905d128a50b69e405bb34acb23e286f8
parente197f65b354c37aa4a78c0cf02fab687cace5794
Fixed bug #78989

Always operate on copies of the functions, so we don't reference
temporary trait methods that have gone out of scope.

This could be more efficient, but doing an allocated copy only when
strictly necessary turned out to be somewhat tricky.
NEWS
Zend/tests/type_declarations/variance/parent_in_class_success.phpt [new file with mode: 0644]
Zend/tests/type_declarations/variance/property_types_early_bind.phpt [new file with mode: 0644]
Zend/tests/type_declarations/variance/trait_error.phpt [new file with mode: 0644]
Zend/tests/type_declarations/variance/trait_success.phpt [new file with mode: 0644]
Zend/zend_inheritance.c