mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Merge branch 'PHP-8.1' into PHP-8.2
This commit is contained in:
commit
dbedb69f6a
3
NEWS
3
NEWS
@ -2,6 +2,9 @@ PHP NEWS
|
||||
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||
?? ??? ????, PHP 8.2.0RC5
|
||||
|
||||
- CLI:
|
||||
. Fixed bug GH-9709 (Null pointer dereference with -w/-s options). (Adam Saponara)
|
||||
|
||||
- Core:
|
||||
. Fixed bug GH-9752 (Generator crashes when interrupted during argument
|
||||
evaluation with extra named params). (Arnaud)
|
||||
|
@ -161,7 +161,8 @@ void zend_exception_restore(void) /* {{{ */
|
||||
|
||||
static zend_always_inline bool is_handle_exception_set(void) {
|
||||
zend_execute_data *execute_data = EG(current_execute_data);
|
||||
return !execute_data->func
|
||||
return !execute_data
|
||||
|| !execute_data->func
|
||||
|| !ZEND_USER_CODE(execute_data->func->common.type)
|
||||
|| execute_data->opline->opcode == ZEND_HANDLE_EXCEPTION;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user