Lines Matching refs:EG

54 	param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1);  in zend_get_parameters()
55 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_get_parameters()
89 param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1); in zend_get_parameters_ex()
90 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_get_parameters_ex()
113 param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1); in _zend_get_parameters_array_ex()
114 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in _zend_get_parameters_array_ex()
135 param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1); in zend_copy_parameters_array()
136 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_copy_parameters_array()
202 zend_function *active_function = EG(current_execute_data)->func; in zend_wrong_paramers_count_error()
794 zend_function *active_function = EG(current_execute_data)->func; in zend_parse_parameters_debug_error()
874 zend_function *active_function = EG(current_execute_data)->func; in zend_parse_va_args()
889 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_parse_va_args()
912 *varargs = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args()
923 arg = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args()
993 zend_bool is_method = EG(current_execute_data)->func->common.scope != NULL; in zend_parse_method_parameters()
1070 zend_class_entry *old_scope = EG(scope); in zend_merge_properties()
1074 EG(scope) = Z_OBJCE_P(obj); in zend_merge_properties()
1083 EG(scope) = old_scope; in zend_merge_properties()
1124 zend_class_entry **scope = EG(current_execute_data) ? &EG(scope) : &CG(active_class_entry); in zend_update_class_constants()
1227 zend_class_entry *prev_scope = EG(scope); in object_properties_load()
1230 EG(scope) = zend_lookup_class(cname); in object_properties_load()
1235 EG(scope) = prev_scope; in object_properties_load()
1846 EG(current_module) = module; in zend_startup_module_ex()
1849 EG(current_module) = NULL; in zend_startup_module_ex()
1852 EG(current_module) = NULL; in zend_startup_module_ex()
2032 EG(current_module) = module; in zend_register_module_ex()
2037 EG(current_module) = NULL; in zend_register_module_ex()
2042 EG(current_module) = NULL; in zend_register_module_ex()
2145 internal_function->module = EG(current_module); in zend_register_functions()
2488 zend_hash_apply_with_argument(EG(class_table), clean_module_class, (void *) &module_number); in clean_module_classes()
2569 EG(current_execute_data) = NULL; /* we're no longer executing anything */ in zend_deactivate_modules()
2572 if (EG(full_tables_cleanup)) { in zend_deactivate_modules()
2624 if (EG(full_tables_cleanup)) { in zend_post_deactivate_modules()
2656 class_entry->info.internal.module = EG(current_module); in do_register_internal_class()
2840 if (!EG(scope)) { in zend_is_callable_check_class()
2843 fcc->called_scope = zend_get_called_scope(EG(current_execute_data)); in zend_is_callable_check_class()
2844 fcc->calling_scope = EG(scope); in zend_is_callable_check_class()
2846 fcc->object = zend_get_this_object(EG(current_execute_data)); in zend_is_callable_check_class()
2851 if (!EG(scope)) { in zend_is_callable_check_class()
2853 } else if (!EG(scope)->parent) { in zend_is_callable_check_class()
2856 fcc->called_scope = zend_get_called_scope(EG(current_execute_data)); in zend_is_callable_check_class()
2857 fcc->calling_scope = EG(scope)->parent; in zend_is_callable_check_class()
2859 fcc->object = zend_get_this_object(EG(current_execute_data)); in zend_is_callable_check_class()
2865 zend_class_entry *called_scope = zend_get_called_scope(EG(current_execute_data)); in zend_is_callable_check_class()
2873 fcc->object = zend_get_this_object(EG(current_execute_data)); in zend_is_callable_check_class()
2880 zend_execute_data *ex = EG(current_execute_data); in zend_is_callable_check_class()
2888 zend_object *object = zend_get_this_object(EG(current_execute_data)); in zend_is_callable_check_class()
2942 if (EXPECTED((fcc->function_handler = zend_hash_find_ptr(EG(function_table), lmname)) != NULL)) { in zend_is_callable_check_func()
2955 if ((fcc->function_handler = zend_hash_find_ptr(EG(function_table), lmname)) != NULL) { in zend_is_callable_check_func()
2982 last_scope = EG(scope); in zend_is_callable_check_func()
2984 EG(scope) = ce_org; in zend_is_callable_check_func()
2990 EG(scope) = last_scope; in zend_is_callable_check_func()
2994 EG(scope) = last_scope; in zend_is_callable_check_func()
3028 !strict_class && EG(scope) && in zend_is_callable_check_func()
3029 instanceof_function(fcc->function_handler->common.scope, EG(scope))) { in zend_is_callable_check_func()
3032 if ((priv_fbc = zend_hash_find_ptr(&EG(scope)->function_table, lmname)) != NULL in zend_is_callable_check_func()
3034 && priv_fbc->common.scope == EG(scope)) { in zend_is_callable_check_func()
3043 …if (!zend_check_private(fcc->function_handler, fcc->object ? fcc->object->ce : EG(scope), lmname))… in zend_is_callable_check_func()
3049 if (!zend_check_protected(fcc->function_handler->common.scope, EG(scope))) { in zend_is_callable_check_func()
3092 zend_object *object = zend_get_this_object(EG(current_execute_data)); in zend_is_callable_check_func()
3141 …if (!zend_check_private(fcc->function_handler, fcc->object ? fcc->object->ce : EG(scope), lmname))… in zend_is_callable_check_func()
3151 if (!zend_check_protected(fcc->function_handler->common.scope, EG(scope))) { in zend_is_callable_check_func()
3205 (!EG(objects_store).object_buckets || in zend_is_callable_ex()
3206 !IS_OBJ_VALID(EG(objects_store).object_buckets[object->handle]))) { in zend_is_callable_ex()
3294 if (!EG(objects_store).object_buckets || in zend_is_callable_ex()
3295 !IS_OBJ_VALID(EG(objects_store).object_buckets[Z_OBJ_HANDLE_P(obj)])) { in zend_is_callable_ex()
3424 …fci->function_table = fcc->calling_scope ? &fcc->calling_scope->function_table : EG(function_table… in zend_fcall_info_init()
3814 zend_class_entry *old_scope = EG(scope); in zend_update_property_ex()
3816 EG(scope) = scope; in zend_update_property_ex()
3824 EG(scope) = old_scope; in zend_update_property_ex()
3831 zend_class_entry *old_scope = EG(scope); in zend_update_property()
3833 EG(scope) = scope; in zend_update_property()
3842 EG(scope) = old_scope; in zend_update_property()
3858 zend_class_entry *old_scope = EG(scope); in zend_unset_property()
3860 EG(scope) = scope; in zend_unset_property()
3869 EG(scope) = old_scope; in zend_unset_property()
3932 zend_class_entry *old_scope = EG(scope); in zend_update_static_property()
3935 EG(scope) = scope; in zend_update_static_property()
3937 EG(scope) = old_scope; in zend_update_static_property()
4027 zend_class_entry *old_scope = EG(scope); in zend_read_property()
4029 EG(scope) = scope; in zend_read_property()
4039 EG(scope) = old_scope; in zend_read_property()
4047 zend_class_entry *old_scope = EG(scope); in zend_read_static_property()
4050 EG(scope) = scope; in zend_read_static_property()
4052 EG(scope) = old_scope; in zend_read_static_property()
4061 current->handling = EG(error_handling); in zend_save_error_handling()
4062 current->exception = EG(exception_class); in zend_save_error_handling()
4063 ZVAL_COPY(&current->user_handler, &EG(user_error_handler)); in zend_save_error_handling()
4071 if (error_handling != EH_NORMAL && Z_TYPE(EG(user_error_handler)) != IS_UNDEF) { in zend_replace_error_handling()
4072 zval_ptr_dtor(&EG(user_error_handler)); in zend_replace_error_handling()
4073 ZVAL_UNDEF(&EG(user_error_handler)); in zend_replace_error_handling()
4076 EG(error_handling) = error_handling; in zend_replace_error_handling()
4077 EG(exception_class) = error_handling == EH_THROW ? exception_class : NULL; in zend_replace_error_handling()
4109 EG(error_handling) = saved->handling; in zend_restore_error_handling()
4110 EG(exception_class) = saved->handling == EH_THROW ? saved->exception : NULL; in zend_restore_error_handling()
4112 && !same_zval(&saved->user_handler, &EG(user_error_handler))) { in zend_restore_error_handling()
4113 zval_ptr_dtor(&EG(user_error_handler)); in zend_restore_error_handling()
4114 ZVAL_COPY_VALUE(&EG(user_error_handler), &saved->user_handler); in zend_restore_error_handling()