/PHP-5.5/ |
H A D | NEWS | 9951 (chris at ex-parrot dot com)
|
/PHP-5.5/Zend/ |
H A D | ZEND_CHANGES | 609 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 D | zend_API.h | 514 ZEND_API void zend_delete_variable(zend_execute_data *ex, HashTable *ht, const char *name, int name…
|
H A D | zend_builtin_functions.c | 393 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 D | zend_closures.c | 244 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 D | zend_compile.h | 404 #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 D | zend_exceptions.c | 35 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 D | zend_exceptions.h | 50 extern ZEND_API void (*zend_throw_exception_hook)(zval *ex TSRMLS_DC);
|
H A D | zend_execute.c | 53 #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 D | zend_execute.h | 254 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 D | zend_execute_API.c | 1600 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 D | zend_generators.c | 170 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 D | bug40815.phpt | 7 static public function exh ($ex) {
|
H A D | bug44184.phpt | 16 } catch (Exception $ex) {
|
H A D | bug52361.phpt | 9 } catch(Exception $ex) { 10 echo "1. $ex\n"; 21 } catch(Exception $ex) { 22 echo "2. $ex\n";
|
H A D | catch_finally_001.phpt | 9 throw new Exception("ex");
|
H A D | catch_finally_003.phpt | 25 throw new Exception("ex");
|
H A D | catch_finally_004.phpt | 10 function foo (&$ex) { 24 $ex = $e; 32 var_dump(foo($ex)); 35 var_dump($ex->getMessage()); 36 } while ($ex = $ex->getPrevious());
|
H A D | catch_finally_005.phpt | 7 throw new Exception("ex");
|
H A D | catch_finally_006.phpt | 7 throw new Exception("ex");
|
H A D | ns_055.phpt | 20 $ex = new \Exception(); 23 $foo->test3($ex);
|
H A D | try_catch_finally_006.phpt | 7 function foo($ex = NULL) { 13 if ($ex) throw $ex; 17 if ($ex) return "return1";
|
H A D | try_finally_001.phpt | 7 throw new Exception("ex"); 18 Fatal error: Uncaught exception 'Exception' with message 'ex' %s
|
H A D | try_finally_003.phpt | 10 throw new Exception("ex"); 23 Fatal error: Uncaught exception 'Exception' with message 'ex' %s
|
H A D | try_finally_010.phpt | 13 } catch (MyEx $ex) { 25 } catch (Exception $ex) {
|