File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1598,8 +1598,8 @@ static zend_always_inline zend_execute_data *i_create_execute_data_from_op_array
1598
1598
* a copy of previous execute_data and passed parameters.
1599
1599
*/
1600
1600
if (UNEXPECTED ((op_array -> fn_flags & ZEND_ACC_GENERATOR ) != 0 )) {
1601
- /* Prepend the regular stack frame with copy on prev_execute_data
1602
- * and passed arguments
1601
+ /* Prepend the regular stack frame with a copy of prev_execute_data
1602
+ * and the passed arguments
1603
1603
*/
1604
1604
int args_count = zend_vm_stack_get_args_count_ex (EG (current_execute_data ));
1605
1605
size_t args_size = ZEND_MM_ALIGNED_SIZE (sizeof (zval * )) * (args_count + 1 );
@@ -1616,7 +1616,7 @@ static zend_always_inline zend_execute_data *i_create_execute_data_from_op_array
1616
1616
EX (prev_execute_data )-> function_state .function = (zend_function * )op_array ;
1617
1617
EX (prev_execute_data )-> function_state .arguments = (void * * )((char * )ZEND_VM_STACK_ELEMETS (EG (argument_stack )) + ZEND_MM_ALIGNED_SIZE (sizeof (zval * )) * args_count );
1618
1618
1619
- /* copy arguemnts */
1619
+ /* copy arguments */
1620
1620
* EX (prev_execute_data )-> function_state .arguments = (void * )(zend_uintptr_t )args_count ;
1621
1621
if (args_count > 0 ) {
1622
1622
zval * * arg_src = (zval * * )zend_vm_stack_get_arg_ex (EG (current_execute_data ), 1 );
You can’t perform that action at this time.
0 commit comments