Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 120) sorted by last modified time

12345

/PHP-7.4/main/
H A Dphp_variables.c139 zend_execute_data *ex = EG(current_execute_data); in php_register_variable_ex() local
141 while (ex) { in php_register_variable_ex()
142 if (ex->func && ZEND_USER_CODE(ex->func->common.type)) { in php_register_variable_ex()
143 if ((ZEND_CALL_INFO(ex) & ZEND_CALL_HAS_SYMBOL_TABLE) in php_register_variable_ex()
144 && ex->symbol_table == symtable1) { in php_register_variable_ex()
154 ex = ex->prev_execute_data; in php_register_variable_ex()
/PHP-7.4/ext/pgsql/tests/
H A Dbug81720.phpt13 } catch (Throwable $ex) {
14 echo $ex->getMessage(), PHP_EOL;
21 } catch (Throwable $ex) {
22 echo $ex->getMessage(), PHP_EOL;
/PHP-7.4/ext/phar/tests/
H A Dbug81211.phpt25 } catch (UnexpectedValueException $ex) {
26 echo $ex->getMessage(), PHP_EOL;
30 } catch (UnexpectedValueException $ex) {
31 echo $ex->getMessage(), PHP_EOL;
H A Dbug73809.phpt20 } catch (Exception $ex) {
21 echo $ex->getMessage(), PHP_EOL;
/PHP-7.4/Zend/
H A Dzend_vm_execute.h2533 zend_object *ex = EG(exception); in zend_dispatch_try_catch_finally_helper_SPEC() local
2540 if (op_num < try_catch->catch_op && ex) { in zend_dispatch_try_catch_finally_helper_SPEC()
2567 if (ex) { in zend_dispatch_try_catch_finally_helper_SPEC()
2572 ex = Z_OBJ_P(fast_call); in zend_dispatch_try_catch_finally_helper_SPEC()
3737 zval *ex; in ZEND_CATCH_SPEC_CONST_HANDLER() local
3770 ex = EX_VAR(opline->result.var); in ZEND_CATCH_SPEC_CONST_HANDLER()
50080 execute_data = ex;
50082 zend_execute_data *execute_data = ex;
61447 execute_data = ex;
61449 zend_execute_data *execute_data = ex;
[all …]
H A Dzend_vm_def.h4591 zval *ex; variable
4624 ex = EX_VAR(opline->result.var);
4632 zend_assign_to_variable(ex, &tmp, IS_TMP_VAR, /* strict */ 1);
7460 zend_object *ex = EG(exception); in ZEND_VM_HELPER() local
7467 if (op_num < try_catch->catch_op && ex) { in ZEND_VM_HELPER()
7494 if (ex) { in ZEND_VM_HELPER()
7495 zend_exception_set_previous(ex, Z_OBJ_P(fast_call)); in ZEND_VM_HELPER()
7499 ex = Z_OBJ_P(fast_call); in ZEND_VM_HELPER()
H A Dzend_API.c2967 zend_execute_data *ex = EG(current_execute_data); in zend_is_callable_check_class() local
2969 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_is_callable_check_class()
2970 ex = ex->prev_execute_data; in zend_is_callable_check_class()
2972 scope = ex ? ex->func->common.scope : NULL; in zend_is_callable_check_class()
H A Dzend_execute.c3712 ZEND_API void zend_init_func_execute_data(zend_execute_data *ex, zend_op_array *op_array, zval *ret… in zend_init_func_execute_data() argument
3721 execute_data = ex; in zend_init_func_execute_data()
3723 zend_execute_data *execute_data = ex; in zend_init_func_execute_data()
H A Dzend_execute_API.c498 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_filename()
499 ex = ex->prev_execute_data; in zend_get_executed_filename()
513 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_filename_ex()
514 ex = ex->prev_execute_data; in zend_get_executed_filename_ex()
528 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_get_executed_lineno()
529 ex = ex->prev_execute_data; in zend_get_executed_lineno()
553 ex = ex->prev_execute_data; in zend_get_executed_scope()
1040 ex = ex->prev_execute_data; in zend_get_called_scope()
1056 ex = ex->prev_execute_data; in zend_get_this_object()
1476 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->common.type))) { in zend_rebuild_symbol_table()
[all …]
H A Dzend.c1279 zend_execute_data *ex; in zend_error_va_list() local
1289 ex = EG(current_execute_data); in zend_error_va_list()
1291 while (ex && (!ex->func || !ZEND_USER_CODE(ex->func->type))) { in zend_error_va_list()
1292 ex = ex->prev_execute_data; in zend_error_va_list()
1294 if (ex && ex->opline->opcode == ZEND_HANDLE_EXCEPTION && in zend_error_va_list()
1301 ex->opline = opline; in zend_error_va_list()
H A Dzend_generators.c170 zend_execute_data *ex = generator->execute_data; in zend_generator_dtor_storage() local
191 if (EXPECTED(!ex) || EXPECTED(!(ex->func->op_array.fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK)) in zend_generator_dtor_storage()
198 op_num = ex->opline - ex->func->op_array.opcodes - 1; in zend_generator_dtor_storage()
202 for (i = 0; i < ex->func->op_array.last_try_catch; i++) { in zend_generator_dtor_storage()
203 zend_try_catch_element *try_catch = &ex->func->op_array.try_catch_array[i]; in zend_generator_dtor_storage()
219 ZEND_CALL_VAR(ex, ex->func->op_array.opcodes[try_catch->finally_end].op1.var); in zend_generator_dtor_storage()
221 zend_generator_cleanup_unfinished_execution(generator, ex, try_catch->finally_op); in zend_generator_dtor_storage()
226 ex->opline = &ex->func->op_array.opcodes[try_catch->finally_op]; in zend_generator_dtor_storage()
235 ZEND_CALL_VAR(ex, ex->func->op_array.opcodes[try_catch->finally_end].op1.var); in zend_generator_dtor_storage()
238 zend_op *retval_op = &ex->func->op_array.opcodes[Z_OPLINE_NUM_P(fast_call)]; in zend_generator_dtor_storage()
[all …]
H A Dzend_builtin_functions.c454 if (ZEND_CALL_INFO(ex) & ZEND_CALL_CODE) { in ZEND_FUNCTION()
463 RETURN_LONG(ZEND_CALL_NUM_ARGS(ex)); in ZEND_FUNCTION()
474 zend_execute_data *ex; in ZEND_FUNCTION() local
485 ex = EX(prev_execute_data); in ZEND_FUNCTION()
486 if (ZEND_CALL_INFO(ex) & ZEND_CALL_CODE) { in ZEND_FUNCTION()
495 arg_count = ZEND_CALL_NUM_ARGS(ex); in ZEND_FUNCTION()
504 …arg = ZEND_CALL_VAR_NUM(ex, ex->func->op_array.last_var + ex->func->op_array.T) + (requested_offse… in ZEND_FUNCTION()
523 if (ZEND_CALL_INFO(ex) & ZEND_CALL_CODE) { in ZEND_FUNCTION()
532 arg_count = ZEND_CALL_NUM_ARGS(ex); in ZEND_FUNCTION()
540 p = ZEND_CALL_ARG(ex, 1); in ZEND_FUNCTION()
[all …]
H A Dzend_exceptions.c75 zval *previous, *ancestor, *ex; in zend_exception_set_previous() local
94 ex = &zv; in zend_exception_set_previous()
104 base_ce = i_get_exception_base(ex); in zend_exception_set_previous()
111 ex = previous; in zend_exception_set_previous()
909 zval ex, tmp; in zend_throw_exception() local
933 return Z_OBJ(ex); in zend_throw_exception()
954 zval ex, tmp; in zend_throw_error_exception() local
956 ZVAL_OBJ(&ex, obj); in zend_throw_error_exception()
989 ZVAL_OBJ(&exception, ex); in zend_exception_error()
990 ce_exception = ex->ce; in zend_exception_error()
[all …]
H A Dzend_vm_execute.skl8 ZEND_API void {%EXECUTOR_NAME%}_ex(zend_execute_data *ex)
/PHP-7.4/ext/pdo_firebird/tests/
H A Dbug_76450.phpt24 } catch (Exception $ex) {
25 echo "{$ex->getMessage()}\n";
/PHP-7.4/
H A D.gdbinit62 set $ex = $arg0
63 while $ex
64 printf "[%p] ", $ex
65 set $func = $ex->func
67 if $ex->This->value.obj
71 printf "%s->", $ex->This->value.obj->ce.name->val
87 set $count = $ex->This.u2.num_args
94 set $zvalue = (zval *) $ex + $callFrameSize + $arg
138 printf "%s:%d ", $func->op_array.filename->val, $ex->opline->lineno
143 set $ex = $ex->prev_execute_data
/PHP-7.4/ext/dom/tests/
H A Dbug66783.phpt14 } catch (DOMException $ex) {
15 echo $ex->getMessage(), PHP_EOL;
/PHP-7.4/ext/reflection/
H A Dphp_reflection.c2066 zend_execute_data *ex; in ZEND_METHOD() local
2076 if (!ex) { in ZEND_METHOD()
2093 if (!ex) { \
2112 REFLECTION_CHECK_VALID_GENERATOR(ex) in ZEND_METHOD()
2144 REFLECTION_CHECK_VALID_GENERATOR(ex) in ZEND_METHOD()
2160 REFLECTION_CHECK_VALID_GENERATOR(ex) in ZEND_METHOD()
2176 REFLECTION_CHECK_VALID_GENERATOR(ex) in ZEND_METHOD()
2183 reflection_method_factory(ex->func->op_array.scope, ex->func, NULL, return_value); in ZEND_METHOD()
2200 REFLECTION_CHECK_VALID_GENERATOR(ex) in ZEND_METHOD()
2202 if (Z_TYPE(ex->This) == IS_OBJECT) { in ZEND_METHOD()
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_prompt.c616 PHPDBG_G(seek_ex) = ex; in phpdbg_skip_line_helper()
660 PHPDBG_G(seek_ex) = ex; in phpdbg_seek_to_end()
723 zend_object *ex = EG(exception); in phpdbg_handle_exception() local
730 ZVAL_OBJ(&zv, ex); in phpdbg_handle_exception()
731 zend_call_method_with_0_params(&zv, ex->ce, &ex->ce->__tostring, "__tostring", &tmp); in phpdbg_handle_exception()
753 OBJ_RELEASE(ex); in phpdbg_handle_exception()
879 if (ex && (ZEND_CALL_INFO(ex) & ZEND_CALL_HAS_SYMBOL_TABLE)) { in PHPDBG_COMMAND()
964 zend_object *ex = NULL; in PHPDBG_COMMAND() local
990 ex = EG(exception); in PHPDBG_COMMAND()
1006 if (ex) { in PHPDBG_COMMAND()
[all …]
H A Dphpdbg.c337 zend_execute_data *ex = EG(current_execute_data); in PHP_FUNCTION() local
339 while (ex && ex->func && !ZEND_USER_CODE(ex->func->type)) { in PHP_FUNCTION()
340 ex = ex->prev_execute_data; in PHP_FUNCTION()
343 if (zend_parse_parameters_none() == FAILURE || !ex) { in PHP_FUNCTION()
347 phpdbg_set_breakpoint_opline_ex((phpdbg_opline_ptr_t) ex->opline + 1); in PHP_FUNCTION()
/PHP-7.4/ext/pdo_mysql/tests/
H A Dbug76815.phpt24 } catch (PDOException $ex) {
25 echo $ex->getMessage(), "\n";
/PHP-7.4/ext/ffi/tests/
H A Dbug79177.phpt21 } catch (FFI\Exception $ex) {
/PHP-7.4/ext/pdo/
H A Dpdo_dbh.c103 zval ex, info; in pdo_raise_impl_error() local
106 object_init_ex(&ex, pdo_ex); in pdo_raise_impl_error()
108 zend_update_property_string(def_ex, &ex, "message", sizeof("message")-1, message); in pdo_raise_impl_error()
109 zend_update_property_string(def_ex, &ex, "code", sizeof("code")-1, *pdo_err); in pdo_raise_impl_error()
115 zend_update_property(pdo_ex, &ex, "errorInfo", sizeof("errorInfo")-1, &info); in pdo_raise_impl_error()
118 zend_throw_exception_object(&ex); in pdo_raise_impl_error()
178 zval ex; in pdo_handle_error() local
181 object_init_ex(&ex, pdo_ex); in pdo_handle_error()
184 zend_update_property_string(def_ex, &ex, "code", sizeof("code") - 1, *pdo_err); in pdo_handle_error()
187 zend_update_property(pdo_ex, &ex, "errorInfo", sizeof("errorInfo") - 1, &info); in pdo_handle_error()
[all …]
/PHP-7.4/ext/com_dotnet/tests/
H A Dbug64130.phpt9 } catch (com_exception $ex) {
10 die("skip {$ex->getMessage()}");
21 } catch (com_exception $ex) {}
/PHP-7.4/travis/
H A Dcompile.sh2 set -ex

Completed in 224 milliseconds

12345