Home
last modified time | relevance | path

Searched refs:error_handling (Results 1 – 19 of 19) sorted by relevance

/PHP-8.2/ext/intl/collator/
H A Dcollator_create.c25 static int collator_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *e… in collator_ctor() argument
41 if (error_handling != NULL) { in collator_ctor()
42 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in collator_ctor()
74 zend_error_handling error_handling; in PHP_METHOD() local
78 …if (collator_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == … in PHP_METHOD()
84 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.2/ext/intl/formatter/
H A Dformatter_main.c26 static int numfmt_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *err… in numfmt_ctor() argument
43 if (error_handling != NULL) { in numfmt_ctor()
44 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in numfmt_ctor()
92 zend_error_handling error_handling; in PHP_METHOD() local
96 …if (numfmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == FA… in PHP_METHOD()
102 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.2/ext/intl/dateformat/
H A Ddatepatterngenerator_methods.cpp33 static zend_result dtpg_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, boo… in dtpg_ctor() argument
47 if (error_handling != NULL) { in dtpg_ctor()
48 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in dtpg_ctor()
90 zend_error_handling error_handling; in PHP_METHOD() local
96 …if (dtpg_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == FAIL… in PHP_METHOD()
104 zend_restore_error_handling(&error_handling); in PHP_METHOD()
H A Ddateformat_create.cpp48 static zend_result datefmt_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, … in datefmt_ctor() argument
84 if (error_handling != NULL) { in datefmt_ctor()
85 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in datefmt_ctor()
215 zend_error_handling error_handling; in PHP_METHOD() local
221 …if (datefmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == F… in PHP_METHOD()
229 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.2/ext/intl/spoofchecker/
H A Dspoofchecker_create.c29 zend_error_handling error_handling; in PHP_METHOD() local
36 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling); in PHP_METHOD()
60 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.2/ext/intl/msgformat/
H A Dmsgformat.c28 static int msgfmt_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *err… in msgfmt_ctor() argument
48 if (error_handling != NULL) { in msgfmt_ctor()
49 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in msgfmt_ctor()
122 zend_error_handling error_handling; in PHP_METHOD() local
126 …if (msgfmt_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replaced) == F… in PHP_METHOD()
134 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.2/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp47 …INTERNAL_FUNCTION_PARAMETERS, bool is_constructor, zend_error_handling *error_handling, bool *erro… in _php_intlgregcal_constructor_body() argument
87 if (error_handling != NULL) { in _php_intlgregcal_constructor_body()
88 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in _php_intlgregcal_constructor_body()
201 zend_error_handling error_handling; in PHP_METHOD() local
205 …ctor_body(INTERNAL_FUNCTION_PARAM_PASSTHRU, /* is_constructor */ 1, &error_handling, &error_handli… in PHP_METHOD()
207 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.2/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp35 …_constructor_body(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, bool *error_h… in _php_intlrbbi_constructor_body() argument
55 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in _php_intlrbbi_constructor_body()
101 zend_error_handling error_handling; in PHP_METHOD() local
105 …_php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_… in PHP_METHOD()
107 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.2/ext/intl/resourcebundle/
H A Dresourcebundle_class.c77 static int resourcebundle_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, b… in resourcebundle_ctor() argument
96 if (error_handling != NULL) { in resourcebundle_ctor()
97 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in resourcebundle_ctor()
146 zend_error_handling error_handling; in PHP_METHOD() local
150 …if (resourcebundle_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replace… in PHP_METHOD()
156 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.2/main/
H A Dphp.h320 static inline ZEND_ATTRIBUTE_DEPRECATED void php_set_error_handling(error_handling_t error_handling in BEGIN_EXTERN_C()
322 zend_replace_error_handling(error_handling, exception_class, NULL); in BEGIN_EXTERN_C()
H A Dmain.c1242 if (EG(error_handling) == EH_THROW) { in php_error_cb()
/PHP-8.2/ext/spl/
H A Dspl_directory.c520 zend_error_handling error_handling; in spl_filesystem_object_create_type() local
588 zend_restore_error_handling(&error_handling); in spl_filesystem_object_create_type()
593 zend_restore_error_handling(&error_handling); in spl_filesystem_object_create_type()
732 zend_error_handling error_handling; in spl_filesystem_object_construct() local
771 zend_restore_error_handling(&error_handling); in spl_filesystem_object_construct()
1188 zend_error_handling error_handling; \
1197 zend_restore_error_handling(&error_handling); \
2048 zend_error_handling error_handling; in PHP_METHOD() local
2065 zend_restore_error_handling(&error_handling); in PHP_METHOD()
2093 zend_error_handling error_handling; in PHP_METHOD() local
[all …]
H A Dspl_iterators.c1331 zend_error_handling error_handling; in spl_dual_it_construct() local
1430 zend_replace_error_handling(EH_THROW, spl_ce_InvalidArgumentException, &error_handling); in spl_dual_it_construct()
1432 zend_restore_error_handling(&error_handling); in spl_dual_it_construct()
/PHP-8.2/Zend/
H A Dzend_globals.h213 zend_error_handling_t error_handling; member
H A Dzend.h403 ZEND_API void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *e…
H A Dzend_API.c4891 current->handling = EG(error_handling); in zend_save_error_handling()
4896 ZEND_API void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *e… in zend_replace_error_handling() argument
4901 ZEND_ASSERT(error_handling == EH_THROW || exception_class == NULL); in zend_replace_error_handling()
4902 EG(error_handling) = error_handling; in zend_replace_error_handling()
4909 EG(error_handling) = saved->handling; in zend_restore_error_handling()
H A Dzend.c790 executor_globals->error_handling = EH_NORMAL; in executor_globals_ctor()
1422 || EG(error_handling) != EH_NORMAL) { in zend_error_zstr_at()
H A Dzend_execute_API.c149 EG(error_handling) = EH_NORMAL; in init_executor()
/PHP-8.2/ext/date/
H A Dphp_date.c3764 zend_error_handling error_handling; in PHP_METHOD() local
3770 zend_replace_error_handling(EH_THROW, NULL, &error_handling); in PHP_METHOD()
3773 zend_restore_error_handling(&error_handling); in PHP_METHOD()

Completed in 103 milliseconds