Home
last modified time | relevance | path

Searched refs:ex (Results 1 – 25 of 57) sorted by path

123

/PHP-5.5/
H A DNEWS9951 (chris at ex-parrot dot com)
/PHP-5.5/Zend/
H A DZEND_CHANGES609 function display_exception(Exception $ex)
611 echo 'Exception: ' . $ex->getMessage() . 'with backtrace: <pre>';
612 echo $ex->getTrace();
620 catch (Exception $ex)
622 display_exeption($ex);
H A Dzend_API.h514 ZEND_API void zend_delete_variable(zend_execute_data *ex, HashTable *ht, const char *name, int name…
H A Dzend_builtin_functions.c393 zend_execute_data *ex = EG(current_execute_data)->prev_execute_data; in ZEND_FUNCTION() local
395 if (ex && ex->function_state.arguments) { in ZEND_FUNCTION()
396 RETURN_LONG((long)(zend_uintptr_t)*(ex->function_state.arguments)); in ZEND_FUNCTION()
413 zend_execute_data *ex = EG(current_execute_data)->prev_execute_data; in ZEND_FUNCTION() local
424 if (!ex || !ex->function_state.arguments) { in ZEND_FUNCTION()
429 p = ex->function_state.arguments; in ZEND_FUNCTION()
452 zend_execute_data *ex = EG(current_execute_data)->prev_execute_data; in ZEND_FUNCTION() local
454 if (!ex || !ex->function_state.arguments) { in ZEND_FUNCTION()
459 p = ex->function_state.arguments; in ZEND_FUNCTION()
H A Dzend_closures.c244 zend_execute_data *ex = EG(current_execute_data); in zend_closure_free_storage() local
245 while (ex) { in zend_closure_free_storage()
246 if (ex->op_array == &closure->func.op_array) { in zend_closure_free_storage()
249 ex = ex->prev_execute_data; in zend_closure_free_storage()
H A Dzend_compile.h404 #define EX_TMP_VAR(ex, n) ((temp_variable*)(((char*)(ex)) + ((int)(n)))) argument
405 #define EX_TMP_VAR_NUM(ex, n) (EX_TMP_VAR(ex, 0) - (1 + (n))) argument
407 #define EX_CV_NUM(ex, n) (((zval***)(((char*)(ex))+ZEND_MM_ALIGNED_SIZE(sizeof(zend_execute_d… argument
H A Dzend_exceptions.c35 ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC);
825 zval *ex; in zend_throw_exception() local
827 MAKE_STD_ZVAL(ex); in zend_throw_exception()
836 object_init_ex(ex, exception_ce); in zend_throw_exception()
840 …zend_update_property_string(default_exception_ce, ex, "message", sizeof("message")-1, message TSRM… in zend_throw_exception()
843 zend_update_property_long(default_exception_ce, ex, "code", sizeof("code")-1, code TSRMLS_CC); in zend_throw_exception()
846 zend_throw_exception_internal(ex TSRMLS_CC); in zend_throw_exception()
847 return ex; in zend_throw_exception()
868 zval *ex = zend_throw_exception(exception_ce, message, code TSRMLS_CC); in zend_throw_error_exception() local
869 …zend_update_property_long(default_exception_ce, ex, "severity", sizeof("severity")-1, severity TSR… in zend_throw_error_exception()
[all …]
H A Dzend_exceptions.h50 extern ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC);
H A Dzend_execute.c53 #define get_zval_ptr(op_type, node, ex, should_free, type) _get_zval_ptr(op_type, node, ex, should_… argument
54 #define get_zval_ptr_ptr(op_type, node, ex, should_free, type) _get_zval_ptr_ptr(op_type, node, ex,… argument
55 #define get_obj_zval_ptr(op_type, node, ex, should_free, type) _get_obj_zval_ptr(op_type, node, ex,… argument
56 #define get_obj_zval_ptr_ptr(op_type, node, ex, should_free, type) _get_obj_zval_ptr_ptr(op_type, n… argument
H A Dzend_execute.h254 static zend_always_inline void** zend_vm_stack_frame_base(zend_execute_data *ex) in zend_vm_stack_frame_base() argument
256 return (void**)((char*)ex->call_slots + in zend_vm_stack_frame_base()
257 ZEND_MM_ALIGNED_SIZE(sizeof(call_slot)) * ex->op_array->nested_calls); in zend_vm_stack_frame_base()
307 static zend_always_inline int zend_vm_stack_get_args_count_ex(zend_execute_data *ex) in zend_vm_stack_get_args_count_ex() argument
309 if (ex) { in zend_vm_stack_get_args_count_ex()
310 void **p = ex->function_state.arguments; in zend_vm_stack_get_args_count_ex()
317 static zend_always_inline zval** zend_vm_stack_get_arg_ex(zend_execute_data *ex, int requested_arg) in zend_vm_stack_get_arg_ex() argument
319 void **p = ex->function_state.arguments; in zend_vm_stack_get_arg_ex()
H A Dzend_execute_API.c1600 for (ex = EG(current_execute_data); ex; ex = ex->prev_execute_data) { in zend_reset_all_cv()
1601 if (ex->op_array && ex->symbol_table == symbol_table) { in zend_reset_all_cv()
1614 while (ex && ex->symbol_table == ht) { in zend_delete_variable()
1617 if (ex->op_array) { in zend_delete_variable()
1627 ex = ex->prev_execute_data; in zend_delete_variable()
1638 for (ex = EG(current_execute_data); ex; ex = ex->prev_execute_data) { in zend_delete_global_variable_ex()
1639 if (ex->op_array && ex->symbol_table == &EG(symbol_table)) { in zend_delete_global_variable_ex()
1673 while (ex && !ex->op_array) { in zend_rebuild_symbol_table()
1674 ex = ex->prev_execute_data; in zend_rebuild_symbol_table()
1676 if (ex && ex->symbol_table) { in zend_rebuild_symbol_table()
[all …]
H A Dzend_generators.c170 zend_execute_data *ex = generator->execute_data; in zend_generator_dtor_storage() local
174 if (!ex || !ex->op_array->has_finally_block) { in zend_generator_dtor_storage()
180 op_num = ex->opline - ex->op_array->opcodes - 1; in zend_generator_dtor_storage()
184 for (i = 0; i < ex->op_array->last_try_catch; i++) { in zend_generator_dtor_storage()
185 zend_try_catch_element *try_catch = &ex->op_array->try_catch_array[i]; in zend_generator_dtor_storage()
199 ex->opline = &ex->op_array->opcodes[finally_op_num]; in zend_generator_dtor_storage()
200 ex->fast_ret = NULL; in zend_generator_dtor_storage()
/PHP-5.5/Zend/tests/
H A Dbug40815.phpt7 static public function exh ($ex) {
H A Dbug44184.phpt16 } catch (Exception $ex) {
H A Dbug52361.phpt9 } catch(Exception $ex) {
10 echo "1. $ex\n";
21 } catch(Exception $ex) {
22 echo "2. $ex\n";
H A Dcatch_finally_001.phpt9 throw new Exception("ex");
H A Dcatch_finally_003.phpt25 throw new Exception("ex");
H A Dcatch_finally_004.phpt10 function foo (&$ex) {
24 $ex = $e;
32 var_dump(foo($ex));
35 var_dump($ex->getMessage());
36 } while ($ex = $ex->getPrevious());
H A Dcatch_finally_005.phpt7 throw new Exception("ex");
H A Dcatch_finally_006.phpt7 throw new Exception("ex");
H A Dns_055.phpt20 $ex = new \Exception();
23 $foo->test3($ex);
H A Dtry_catch_finally_006.phpt7 function foo($ex = NULL) {
13 if ($ex) throw $ex;
17 if ($ex) return "return1";
H A Dtry_finally_001.phpt7 throw new Exception("ex");
18 Fatal error: Uncaught exception 'Exception' with message 'ex' %s
H A Dtry_finally_003.phpt10 throw new Exception("ex");
23 Fatal error: Uncaught exception 'Exception' with message 'ex' %s
H A Dtry_finally_010.phpt13 } catch (MyEx $ex) {
25 } catch (Exception $ex) {

Completed in 123 milliseconds

123