]> granicus.if.org Git - php/commit
Fix #75765 Exception on extend of undefined class
authortimurib <timok@ya.ru>
Sat, 6 Jan 2018 20:04:45 +0000 (23:04 +0300)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 12 Jan 2018 17:41:39 +0000 (18:41 +0100)
commita484b9a5359bd8252234c3965a6fb7f1a1a98b4a
treebf1692ccba8a4e081e83a26ea18f67ae9f94d6a7
parent2d083a3da7e033ee049f4570d13d98c38444cb97
Fix #75765 Exception on extend of undefined class

As the parent class is fetched prior to binding, there are no
safety concerns in this case and we can replace the fatal error
with an Error exception.
NEWS
Zend/zend_compile.c
ext/spl/tests/bug73423.phpt
tests/classes/autoload_011.phpt
tests/classes/bug75765.phpt [new file with mode: 0644]