@@ -750,23 +750,23 @@ static zend_object *zend_test_class_new(zend_class_entry *class_type)
750
750
static zend_function * zend_test_class_method_get (zend_object * * object , zend_string * name , const zval * key )
751
751
{
752
752
if (zend_string_equals_literal_ci (name , "test" )) {
753
- zend_internal_function * fptr ;
753
+ zend_internal_function * fptr ;
754
754
755
- if (EXPECTED (EG (trampoline ).common .function_name == NULL )) {
756
- fptr = (zend_internal_function * ) & EG (trampoline );
757
- } else {
758
- fptr = emalloc (sizeof (zend_internal_function ));
755
+ if (EXPECTED (EG (trampoline ).common .function_name == NULL )) {
756
+ fptr = (zend_internal_function * ) & EG (trampoline );
757
+ } else {
758
+ fptr = emalloc (sizeof (zend_internal_function ));
759
759
}
760
- memset (fptr , 0 , sizeof (zend_internal_function ));
761
- fptr -> type = ZEND_INTERNAL_FUNCTION ;
762
- fptr -> num_args = 1 ;
763
- fptr -> scope = (* object )-> ce ;
764
- fptr -> fn_flags = ZEND_ACC_CALL_VIA_HANDLER ;
765
- fptr -> function_name = zend_string_copy (name );
760
+ memset (fptr , 0 , sizeof (zend_internal_function ));
761
+ fptr -> type = ZEND_INTERNAL_FUNCTION ;
762
+ fptr -> num_args = 1 ;
763
+ fptr -> scope = (* object )-> ce ;
764
+ fptr -> fn_flags = ZEND_ACC_CALL_VIA_HANDLER ;
765
+ fptr -> function_name = zend_string_copy (name );
766
766
fptr -> handler = ZEND_FN (zend_test_func );
767
767
fptr -> doc_comment = NULL ;
768
768
769
- return (zend_function * )fptr ;
769
+ return (zend_function * )fptr ;
770
770
}
771
771
return zend_std_get_method (object , name , key );
772
772
}
0 commit comments