Home
last modified time | relevance | path

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

12

/PHP-7.2/Zend/
H A Dzend_execute_API.c160 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 Dzend_vm_execute.skl33 …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 Dzend_generators.c455 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 Dzend_exceptions.c156 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 Dzend.c624 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 Dzend_dtrace.c34 zend_execute_data *ex = EG(current_execute_data); in dtrace_get_executed_filename()
H A Dzend_objects.c91 if (EG(current_execute_data)) { in zend_objects_destroy_object()
110 if (EG(current_execute_data)) { in zend_objects_destroy_object()
H A Dzend_API.c55 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 Dzend_globals.h159 struct _zend_execute_data *current_execute_data; member
H A Dzend_compile.h543 (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 Dzend_constants.c209 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 Dzend_execute.c720 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 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()
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 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_prompt.c658 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 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_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.2/ext/opcache/
H A DZendAccelerator.c859 !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.gdbinit36 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 DSAPI.c951 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 Dmain.c806 } 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 Dfpm_php_trace.c71 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 Dpass1_5.c213 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 Dassert.c57 if (EG(current_execute_data)) { in PHP_INI_MH()

Completed in 129 milliseconds

12