Skip to content

Commit ba6317b

Browse files
committed
Merge branch 'PHP-5.5'
* PHP-5.5: spelling
2 parents 245dbb0 + 8e6bf9e commit ba6317b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Zend/zend_execute.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,8 +1598,8 @@ static zend_always_inline zend_execute_data *i_create_execute_data_from_op_array
15981598
* a copy of previous execute_data and passed parameters.
15991599
*/
16001600
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
16031603
*/
16041604
int args_count = zend_vm_stack_get_args_count_ex(EG(current_execute_data));
16051605
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
16161616
EX(prev_execute_data)->function_state.function = (zend_function*)op_array;
16171617
EX(prev_execute_data)->function_state.arguments = (void**)((char*)ZEND_VM_STACK_ELEMETS(EG(argument_stack)) + ZEND_MM_ALIGNED_SIZE(sizeof(zval*)) * args_count);
16181618

1619-
/* copy arguemnts */
1619+
/* copy arguments */
16201620
*EX(prev_execute_data)->function_state.arguments = (void*)(zend_uintptr_t)args_count;
16211621
if (args_count > 0) {
16221622
zval **arg_src = (zval**)zend_vm_stack_get_arg_ex(EG(current_execute_data), 1);

0 commit comments

Comments
 (0)