/PHP-7.2/Zend/ |
H A D | zend_execute_API.c | 160 EG(current_execute_data) = NULL; in init_executor() 412 func = EG(current_execute_data)->func; in get_active_class_name() 440 func = EG(current_execute_data)->func; in get_active_function_name() 527 return EG(current_execute_data) != 0; in zend_is_executing() 563 ZEND_ASSERT(EG(current_execute_data)); in zval_update_constant_ex() 685 if (!EG(current_execute_data)) { in zend_call_function() 692 } else if (EG(current_execute_data)->func && in zend_call_function() 831 EG(current_execute_data) = call; in zend_call_function() 856 EG(current_execute_data) = call; in zend_call_function() 883 if (UNEXPECTED(!EG(current_execute_data))) { in zend_call_function() [all …]
|
H A D | zend_vm_execute.skl | 33 …on*)op_array, 0, zend_get_called_scope(EG(current_execute_data)), zend_get_this_object(EG(current_… 34 if (EG(current_execute_data)) { 39 EX(prev_execute_data) = EG(current_execute_data);
|
H A D | zend_generators.c | 455 zend_execute_data *original_execute_data = EG(current_execute_data); in zend_generator_throw_exception() 465 EG(current_execute_data) = generator->execute_data; in zend_generator_throw_exception() 470 zend_rethrow_exception(EG(current_execute_data)); in zend_generator_throw_exception() 473 EG(current_execute_data) = original_execute_data; in zend_generator_throw_exception() 668 EG(current_execute_data) = root->execute_data; in zend_generator_update_current() 680 EG(current_execute_data) = original_execute_data; in zend_generator_update_current() 833 EG(current_execute_data) = generator->execute_data; in zend_generator_resume() 865 EG(current_execute_data) = original_execute_data; in zend_generator_resume() 874 if (EG(current_execute_data) && in zend_generator_resume() 875 EG(current_execute_data)->func && in zend_generator_resume() [all …]
|
H A D | zend_exceptions.c | 156 if (!EG(current_execute_data)) { in zend_throw_exception_internal() 170 if (!EG(current_execute_data)->func || in zend_throw_exception_internal() 171 !ZEND_USER_CODE(EG(current_execute_data)->func->common.type) || in zend_throw_exception_internal() 172 EG(current_execute_data)->opline->opcode == ZEND_HANDLE_EXCEPTION) { in zend_throw_exception_internal() 176 EG(opline_before_exception) = EG(current_execute_data)->opline; in zend_throw_exception_internal() 177 EG(current_execute_data)->opline = EG(exception_op); in zend_throw_exception_internal() 193 if (EG(current_execute_data)) { in zend_clear_exception() 194 EG(current_execute_data)->opline = EG(opline_before_exception); in zend_clear_exception() 215 if (EG(current_execute_data)) { in zend_default_exception_new_ex()
|
H A D | zend.c | 624 executor_globals->current_execute_data = NULL; in executor_globals_ctor() 968 EG(current_execute_data) = NULL; in BEGIN_EXTERN_C() 1025 EG(current_execute_data) = NULL; in zend_deactivate() 1130 ex = EG(current_execute_data); in zend_error() 1315 if (!(EG(current_execute_data) && in zend_error() 1316 EG(current_execute_data)->func && in zend_error() 1317 ZEND_USER_CODE(EG(current_execute_data)->func->type) && in zend_error() 1318 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL && in zend_error() 1319 EG(current_execute_data)->opline->extended_value == ZEND_EVAL)) { in zend_error() 1369 if (EG(current_execute_data) && !CG(in_compilation)) { in zend_throw_error()
|
H A D | zend_dtrace.c | 34 zend_execute_data *ex = EG(current_execute_data); in dtrace_get_executed_filename()
|
H A D | zend_objects.c | 91 if (EG(current_execute_data)) { in zend_objects_destroy_object() 110 if (EG(current_execute_data)) { in zend_objects_destroy_object()
|
H A D | zend_API.c | 55 param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1); in zend_get_parameters() 56 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_get_parameters() 90 param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1); in zend_get_parameters_ex() 91 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_get_parameters_ex() 114 param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1); in _zend_get_parameters_array_ex() 115 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in _zend_get_parameters_array_ex() 136 param_ptr = ZEND_CALL_ARG(EG(current_execute_data), 1); in zend_copy_parameters_array() 137 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_copy_parameters_array() 920 arg_count = ZEND_CALL_NUM_ARGS(EG(current_execute_data)); in zend_parse_va_args() 954 arg = ZEND_CALL_ARG(EG(current_execute_data), i + 1); in zend_parse_va_args() [all …]
|
H A D | zend_globals.h | 159 struct _zend_execute_data *current_execute_data; member
|
H A D | zend_compile.h | 543 (EG(current_execute_data)->prev_execute_data && \ 544 EG(current_execute_data)->prev_execute_data->func && \ 545 ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data)->prev_execute_data)) 548 ZEND_CALL_USES_STRICT_TYPES(EG(current_execute_data))
|
H A D | zend_constants.c | 209 if (!EG(current_execute_data)) { in zend_get_special_constant() 326 ce = zend_get_called_scope(EG(current_execute_data)); in zend_get_constant_ex()
|
H A D | zend_execute.c | 720 zend_execute_data *ptr = EG(current_execute_data)->prev_execute_data; in zend_verify_arg_error() 904 EG(current_execute_data) = call->prev_execute_data; in zend_verify_internal_arg_types() 1154 end = EG(current_execute_data)->func->op_array.opcodes + in zend_wrong_string_offset() 1155 EG(current_execute_data)->func->op_array.last; in zend_wrong_string_offset() 2217 EG(current_execute_data) = execute_data; in i_init_func_execute_data() 2246 EG(current_execute_data) = execute_data; in i_init_code_execute_data() 2252 EX(prev_execute_data) = EG(current_execute_data); in zend_init_func_execute_data() 2263 EX(prev_execute_data) = EG(current_execute_data); in zend_init_code_execute_data() 2872 EG(current_execute_data) = call; in zend_do_fcall_overloaded() 2874 EG(current_execute_data) = call->prev_execute_data; in zend_do_fcall_overloaded()
|
/PHP-7.2/sapi/phpdbg/ |
H A D | phpdbg_frame.c | 118 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() 326 if (EG(current_execute_data) == gen->execute_data) { in phpdbg_open_generator_frame() 335 EG(current_execute_data) = gen->execute_data; in phpdbg_open_generator_frame() 341 s = phpdbg_compile_stackframe(EG(current_execute_data)); in phpdbg_open_generator_frame()
|
H A D | phpdbg_info.c | 182 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 D | phpdbg_prompt.c | 658 zend_execute_data *ex = phpdbg_user_execute_data(EG(current_execute_data)); in phpdbg_skip_line_helper() 703 zend_execute_data *ex = phpdbg_user_execute_data(EG(current_execute_data)); in phpdbg_seek_to_end() 809 zend_execute_data *ex = EG(current_execute_data); in PHPDBG_COMMAND() 1008 zend_execute_data *original_execute_data = EG(current_execute_data); in PHPDBG_COMMAND() 1055 EG(current_execute_data) = original_execute_data; in PHPDBG_COMMAND() 1695 …if (EG(current_execute_data) && EG(current_execute_data)->func && ZEND_USER_CODE(EG(current_execut… 1696 backup_opline = EG(current_execute_data)->opline; \ 1716 …if (EG(current_execute_data) && EG(current_execute_data)->func && ZEND_USER_CODE(EG(current_execut… 1718 EG(current_execute_data)->opline = backup_opline; \ 1912 execute_data = EG(current_execute_data); in phpdbg_execute_ex() [all …]
|
H A D | phpdbg_print.c | 44 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 D | phpdbg_bp.c | 581 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 D | phpdbg_cmd.h | 113 #define PHPDBG_EX(v) (EG(current_execute_data)->v)
|
/PHP-7.2/ext/opcache/ |
H A D | ZendAccelerator.c | 859 !EG(current_execute_data) && in zend_get_file_handle_timestamp() 1726 if (!EG(current_execute_data) || !EG(current_execute_data)->opline || in file_cache_compile_file() 1832 ((!EG(current_execute_data) && in persistent_compile_file() 1835 (EG(current_execute_data) && in persistent_compile_file() 2056 if (!EG(current_execute_data) || !EG(current_execute_data)->opline || in persistent_compile_file() 2098 if ((!EG(current_execute_data) && in persistent_stream_open_function() 2101 (EG(current_execute_data) && in persistent_stream_open_function() 2129 if ((!EG(current_execute_data) && in persistent_zend_resolve_path() 2131 (EG(current_execute_data) && in persistent_zend_resolve_path() 2151 ZCG(cache_opline) = EG(current_execute_data) ? EG(current_execute_data)->opline : NULL; in persistent_zend_resolve_path() [all …]
|
/PHP-7.2/ |
H A D | .gdbinit | 36 set $cv_ex_ptr = $eg.current_execute_data 58 current_execute_data for scope. 151 dumps the current execution stack. usage: dump_bt executor_globals.current_execute_data 564 set $tvar = (union _temp_variable *)((char *)$eg.current_execute_data->Ts + $znode->u.var) 569 set $tvar = (union _temp_variable *)((char *)$eg.current_execute_data->Ts + $znode->u.var) 614 dump_bt $eg.current_execute_data 621 > (gdb) dump_bt $eg.current_execute_data
|
/PHP-7.2/main/ |
H A D | SAPI.c | 951 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_post_entry() 961 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_unregister_post_entry() 971 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_default_post_reader() 981 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_treat_data() 990 if (SG(sapi_started) && EG(current_execute_data)) { in sapi_register_input_filter()
|
H A D | main.c | 806 } else if (EG(current_execute_data) && in php_verror() 807 EG(current_execute_data)->func && in php_verror() 808 ZEND_USER_CODE(EG(current_execute_data)->func->common.type) && in php_verror() 809 EG(current_execute_data)->opline && in php_verror() 810 EG(current_execute_data)->opline->opcode == ZEND_INCLUDE_OR_EVAL in php_verror() 812 switch (EG(current_execute_data)->opline->extended_value) { in php_verror() 940 if (EG(current_execute_data)) { in php_verror() 1265 if (EG(current_execute_data)) { in php_error_cb() 1840 EG(current_execute_data) = NULL; in php_request_shutdown()
|
/PHP-7.2/sapi/fpm/fpm/ |
H A D | fpm_php_trace.c | 71 if (0 > fpm_trace_get_long((long) &EG(current_execute_data), &l)) { in fpm_php_trace_dump()
|
/PHP-7.2/ext/opcache/Optimizer/ |
H A D | pass1_5.c | 213 zend_execute_data *orig_execute_data = EG(current_execute_data); in zend_optimizer_pass1() 219 EG(current_execute_data) = &fake_execute_data; in zend_optimizer_pass1() 232 EG(current_execute_data) = orig_execute_data; in zend_optimizer_pass1()
|
/PHP-7.2/ext/standard/ |
H A D | assert.c | 57 if (EG(current_execute_data)) { in PHP_INI_MH()
|