]> granicus.if.org Git - php/commit
Treat abstract ctors the same, regardless of origin
authorNikita Popov <nikita.ppv@gmail.com>
Wed, 27 Mar 2019 17:09:09 +0000 (18:09 +0100)
committerNikita Popov <nikita.ppv@gmail.com>
Wed, 27 Mar 2019 17:09:09 +0000 (18:09 +0100)
commit058554810649da431efa3ab851be17b0d2f96fb8
treebd73b6013de0e2616f8d291bba3d2d668fa61f67
parentd1e5006c1487c0df1333564c3fdcc0528e1da394
Treat abstract ctors the same, regardless of origin

Abstract ctor signatures should always be respected by all children,
independently of whether it comes from an interface or an abstract
class. Previously abstract ctor signatures (if they didn't come from
an interface) were only checked to one level of inheritance.
Zend/tests/bug61970_2.phpt
Zend/tests/constructor_abstract_grantparent.phpt [new file with mode: 0644]
Zend/zend_inheritance.c