File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 22|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33?? ??? 2022, PHP 8.0.26
44
5+ - CLI:
6+   . Fixed bug GH-9709 (Null pointer dereference with -w/-s options). (Adam Saponara)
7+ 
58- Core:
69  . Fixed bug GH-9752 (Generator crashes when interrupted during argument
710    evaluation with extra named params). (Arnaud)
Original file line number Diff line number Diff line change @@ -146,7 +146,8 @@ void zend_exception_restore(void) /* {{{ */
146146
147147static  zend_always_inline  zend_bool  is_handle_exception_set () {
148148	zend_execute_data  * execute_data  =  EG (current_execute_data );
149- 	return  !execute_data -> func 
149+ 	return  !execute_data 
150+ 		||  !execute_data -> func 
150151		||  !ZEND_USER_CODE (execute_data -> func -> common .type )
151152		||  execute_data -> opline -> opcode  ==  ZEND_HANDLE_EXCEPTION ;
152153}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments