]> granicus.if.org Git - php/commit
Handle "non well formed" exception during ZPP
authorNikita Popov <nikita.ppv@gmail.com>
Tue, 8 Oct 2019 14:53:23 +0000 (16:53 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Tue, 8 Oct 2019 15:17:49 +0000 (17:17 +0200)
commit21148679d1dfb614404c09a918d9d2b74f120640
treeae845ee337a9b982fe0e5c1632a42ab0560ee83a
parent68b26ff8cf2390ba5b7565b6624485f2ee6afbf6
Handle "non well formed" exception during ZPP

Previously if the "non well formed" notice was converted into an
exception we'd still end up executing the function.

Also drop the now unnecessary EG(exception) checks in the engine.

Additionally remote a bogus exception in zend_is_callable: It
should only be writing to error, but not directly throwing.
Zend/tests/exception_017.phpt
Zend/tests/non_well_formed_param_exception.phpt [new file with mode: 0644]
Zend/zend_API.c
Zend/zend_execute.c
Zend/zend_operators.c
Zend/zend_vm_def.h
Zend/zend_vm_execute.h