Home
last modified time | relevance | path

Searched refs:current_execute_data (Results 1 – 25 of 48) sorted by relevance

12

/PHP-7.4/Zend/
H A Dzend_execute_API.c160 EG(current_execute_data) = NULL; in init_executor()
445 func = EG(current_execute_data)->func; in get_active_class_name()
473 func = EG(current_execute_data)->func; in get_active_function_name()
560 return EG(current_execute_data) != 0; in zend_is_executing()
671 if (!EG(current_execute_data)) { in zend_call_function()
678 } else if (EG(current_execute_data)->func && in zend_call_function()
830 EG(current_execute_data) = call; in zend_call_function()
855 EG(current_execute_data) = call; in zend_call_function()
882 if (UNEXPECTED(!EG(current_execute_data))) { in zend_call_function()
884 } else if (EG(current_execute_data)->func && in zend_call_function()
[all …]
H A Dzend_vm_execute.skl42 object_or_called_scope = zend_get_this_object(EG(current_execute_data));
44 object_or_called_scope = zend_get_called_scope(EG(current_execute_data));
51 if (EG(current_execute_data)) {
56 EX(prev_execute_data) = EG(current_execute_data);
H A Dzend_generators.c479 zend_execute_data *original_execute_data = EG(current_execute_data); in zend_generator_throw_exception()
489 EG(current_execute_data) = generator->execute_data; in zend_generator_throw_exception()
494 zend_rethrow_exception(EG(current_execute_data)); in zend_generator_throw_exception()
497 EG(current_execute_data) = original_execute_data; in zend_generator_throw_exception()
649 EG(current_execute_data) = root->execute_data; in zend_generator_update_current()
661 EG(current_execute_data) = original_execute_data; in zend_generator_update_current()
819 EG(current_execute_data) = generator->execute_data; in zend_generator_resume()
851 EG(current_execute_data) = original_execute_data; in zend_generator_resume()
860 if (!EG(current_execute_data)) { in zend_generator_resume()
862 } else if (EG(current_execute_data)->func && in zend_generator_resume()
[all …]
H A Dzend_exceptions.c161 if (!EG(current_execute_data)) { in zend_throw_exception_internal()
175 if (!EG(current_execute_data)->func || in zend_throw_exception_internal()
176 !ZEND_USER_CODE(EG(current_execute_data)->func->common.type) || in zend_throw_exception_internal()
177 EG(current_execute_data)->opline->opcode == ZEND_HANDLE_EXCEPTION) { in zend_throw_exception_internal()
181 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal()
182 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal()
200 if (EG(current_execute_data)) { in zend_clear_exception()
201 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception()
222 if (EG(current_execute_data)) { in zend_default_exception_new_ex()
H A Dzend_dtrace.c32 zend_execute_data *ex = EG(current_execute_data); in dtrace_get_executed_filename()
H A Dzend.c704 executor_globals->current_execute_data = NULL; in executor_globals_ctor()
1131 EG(current_execute_data) = NULL; in BEGIN_EXTERN_C()
1191 EG(current_execute_data) = NULL; in zend_deactivate()
1289 ex = EG(current_execute_data); in zend_error_va_list()
1415 if (!(EG(current_execute_data) && in zend_error_va_list()
1416 EG(current_execute_data)->func && in zend_error_va_list()
1417 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error_va_list()
1418 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error_va_list()
1419 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error_va_list()
1554 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
H A Dzend_API.c50 param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1); in _zend_get_parameters_array_ex()
51 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in _zend_get_parameters_array_ex()
72 param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1); in zend_copy_parameters_array()
73 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_copy_parameters_array()
173 int num_args = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_wrong_parameters_none_error()
193 int num_args = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_wrong_parameters_none_exception()
213 int num_args = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_wrong_parameters_count_error()
999 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_parse_va_args()
1033 arg = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args()
2967 zend_execute_data *ex = EG(current_execute_data); in zend_is_callable_check_class()
[all …]
H A Dzend_objects.c109 if (EG(current_execute_data)) { in zend_objects_destroy_object()
128 if (EG(current_execute_data)) { in zend_objects_destroy_object()
H A Dzend_globals.h164 struct _zend_execute_data *current_execute_data; member
H A Dzend_compile.h589 (EG(current_execute_data)->prev_execute_data && \
590 EG(current_execute_data)->prev_execute_data->func && \
591 ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data)->prev_execute_data))
594 ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data))
H A Dzend_constants.c212 if (!EG(current_execute_data)) { in zend_get_special_constant()
363 ce = zend_get_called_scope(EG(current_execute_data)); in zend_get_constant_ex()
H A Dzend_closures.c273 fcc.called_scope = zend_get_called_scope(EG(current_execute_data)); in ZEND_NAMED_FUNCTION()
355 EG(current_execute_data) = EX(prev_execute_data); in ZEND_METHOD()
357 EG(current_execute_data) = execute_data; in ZEND_METHOD()
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_frame.c118 EG(current_execute_data) = PHPDBG_FRAME(execute_data); in phpdbg_restore_frame()
123 …ute_data *execute_data = PHPDBG_FRAME(num) ? PHPDBG_FRAME(execute_data) : EG(current_execute_data); in phpdbg_switch_frame()
157 PHPDBG_FRAME(execute_data) = EG(current_execute_data); in phpdbg_switch_frame()
158 EG(current_execute_data) = execute_data; in phpdbg_switch_frame()
162 zend_string *s = phpdbg_compile_stackframe(EG(current_execute_data)); in phpdbg_switch_frame()
327 if (EG(current_execute_data) == gen->execute_data) { in phpdbg_open_generator_frame()
336 EG(current_execute_data) = gen->execute_data; in phpdbg_open_generator_frame()
342 s = phpdbg_compile_stackframe(EG(current_execute_data)); in phpdbg_open_generator_frame()
H A Dphpdbg_info.c182 if (!EG(current_execute_data) || !EG(current_execute_data)->func) { in phpdbg_print_symbols()
211 zend_op_array *ops = &EG(current_execute_data)->func->op_array; in phpdbg_print_symbols()
309 …end_bool in_executor = PHPDBG_G(in_execution) && EG(current_execute_data) && EG(current_execute_da… in PHPDBG_INFO()
311 zend_op_array *ops = in_executor ? &EG(current_execute_data)->func->op_array : PHPDBG_G(ops); in PHPDBG_INFO()
H A Dphpdbg_print.c44 if (PHPDBG_G(in_execution) && EG(current_execute_data)) { in PHPDBG_PRINT()
45 phpdbg_print_opline(phpdbg_user_execute_data(EG(current_execute_data)), 1); in PHPDBG_PRINT()
126 if (PHPDBG_G(in_execution) && EG(current_execute_data)) { in PHPDBG_PRINT()
127 zend_op_array *ops = &phpdbg_user_execute_data(EG(current_execute_data))->func->op_array; in PHPDBG_PRINT()
H A Dphpdbg_prompt.c611 zend_execute_data *ex = phpdbg_user_execute_data(EG(current_execute_data)); in phpdbg_skip_line_helper()
656 zend_execute_data *ex = phpdbg_user_execute_data(EG(current_execute_data)); in phpdbg_seek_to_end()
683 …_exists(&PHPDBG_G(seek), (zend_ulong) phpdbg_user_execute_data(EG(current_execute_data))->opline))… in PHPDBG_COMMAND()
762 zend_execute_data *ex = EG(current_execute_data); in PHPDBG_COMMAND()
962 zend_execute_data *original_execute_data = EG(current_execute_data); in PHPDBG_COMMAND()
1009 EG(current_execute_data) = original_execute_data; in PHPDBG_COMMAND()
1665 …if (EG(current_execute_data) && EG(current_execute_data)->func && ZEND_USER_CODE(EG(current_execut…
1666 backup_opline = EG(current_execute_data)->opline; \
1679 EG(current_execute_data)->opline = backup_opline; \
1874 execute_data = EG(current_execute_data); in phpdbg_execute_ex()
[all …]
H A Dphpdbg_bp.c581 if (EG(current_execute_data) == NULL) { in phpdbg_resolve_opline_break()
591 zend_execute_data *execute_data = EG(current_execute_data); in phpdbg_resolve_opline_break()
955 …if (EG(current_execute_data) && (brake = zend_hash_index_find_ptr(breaks, EG(current_execute_data)… in phpdbg_find_breakpoint_file()
1109 const zend_op *orig_opline = EG(current_execute_data)->opline; in phpdbg_find_conditional_breakpoint()
1110 zend_function *orig_func = EG(current_execute_data)->func; in phpdbg_find_conditional_breakpoint()
1111 zval *orig_retval = EG(current_execute_data)->return_value; in phpdbg_find_conditional_breakpoint()
1136 EG(current_execute_data)->opline = orig_opline; in phpdbg_find_conditional_breakpoint()
1137 EG(current_execute_data)->func = orig_func; in phpdbg_find_conditional_breakpoint()
1138 EG(current_execute_data)->return_value = orig_retval; in phpdbg_find_conditional_breakpoint()
H A Dphpdbg_cmd.h113 #define PHPDBG_EX(v) (EG(current_execute_data)->v)
/PHP-7.4/ext/opcache/
H A DZendAccelerator.c955 !EG(current_execute_data) && in zend_get_file_handle_timestamp()
1853 if (!EG(current_execute_data) || !EG(current_execute_data)->opline || in file_cache_compile_file()
1952 ((!EG(current_execute_data) && in persistent_compile_file()
1955 (EG(current_execute_data) && in persistent_compile_file()
2174 if (!EG(current_execute_data) || !EG(current_execute_data)->opline || in persistent_compile_file()
2236 if ((!EG(current_execute_data) && in persistent_stream_open_function()
2239 (EG(current_execute_data) && in persistent_stream_open_function()
2264 (EG(current_execute_data) && in persistent_zend_resolve_path()
2284 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path()
2317 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path()
[all …]
/PHP-7.4/
H A D.gdbinit34 set $cv_ex_ptr = $eg.current_execute_data
56 current_execute_data for scope.
149 dumps the current execution stack. usage: dump_bt executor_globals.current_execute_data
574 set $tvar = (union _temp_variable *)((char *)$eg.current_execute_data->Ts + $znode->u.var)
579 set $tvar = (union _temp_variable *)((char *)$eg.current_execute_data->Ts + $znode->u.var)
624 dump_bt $eg.current_execute_data
631 > (gdb) dump_bt $eg.current_execute_data
/PHP-7.4/sapi/fpm/fpm/
H A Dfpm_php_trace.c70 if (0 > fpm_trace_get_long((long) &EG(current_execute_data), &l)) { in fpm_php_trace_dump()
/PHP-7.4/main/
H A DSAPI.c947 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_post_entry()
960 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_unregister_post_entry()
970 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_default_post_reader()
980 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_treat_data()
989 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_input_filter()
H A Dmain.c1024 } else if (EG(current_execute_data) && in php_verror()
1025 EG(current_execute_data)->func && in php_verror()
1026 ZEND_USER_CODE(EG(current_execute_data)->func->common.type) && in php_verror()
1027 EG(current_execute_data)->opline && in php_verror()
1028 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL in php_verror()
1030 switch (EG(current_execute_data)->opline->extended_value) { in php_verror()
1158 if (EG(current_execute_data)) { in php_verror()
1488 if (EG(current_execute_data)) { in php_error_cb()
1906 EG(current_execute_data) = NULL; in php_request_shutdown()
/PHP-7.4/ext/opcache/Optimizer/
H A Dpass1_5.c138 zend_execute_data *orig_execute_data = EG(current_execute_data); in zend_optimizer_pass1()
144 EG(current_execute_data) = &fake_execute_data; in zend_optimizer_pass1()
157 EG(current_execute_data) = orig_execute_data; in zend_optimizer_pass1()
/PHP-7.4/ext/standard/
H A Dassert.c55 if (EG(current_execute_data)) { in PHP_INI_MH()

Completed in 137 milliseconds

12