]> granicus.if.org Git - php/commit
Fixed Bug #60153 (Interface method prototypes not enforced when implementd via traits.)
authorStefan Marr <gron@php.net>
Tue, 1 Nov 2011 15:25:24 +0000 (15:25 +0000)
committerStefan Marr <gron@php.net>
Tue, 1 Nov 2011 15:25:24 +0000 (15:25 +0000)
commit7cd55955d1be231d304b36151170f673629145f2
tree0b2e39757bdc2dd25c595c523992b5ca6e766e7e
parentd1d9d56a96369acab1dff446b78503bce0ff0f2a
Fixed Bug #60153 (Interface method prototypes not enforced when implementd via traits.)
# Moved the freeing of overriden functions to a point after the check.
# The new check comes after the normal inheritance check to give the first check
# the opportunity to abort with a more detailed error.
# Also fixed a small type in an unrelated test.
Zend/tests/traits/bug60153.phpt [new file with mode: 0644]
Zend/tests/traits/inheritance003.phpt
Zend/zend_compile.c