Home
last modified time | relevance | path

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

/PHP-8.3/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.3/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.3/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.3/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp82 …INTERNAL_FUNCTION_PARAMETERS, bool is_constructor, zend_error_handling *error_handling, bool *erro… in _php_intlgregcal_constructor_body() argument
122 if (error_handling != NULL) { in _php_intlgregcal_constructor_body()
123 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in _php_intlgregcal_constructor_body()
213 zend_error_handling error_handling; in PHP_METHOD() local
219 zend_restore_error_handling(&error_handling); in PHP_METHOD()
227 zend_error_handling error_handling; in PHP_METHOD() local
241 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling); in PHP_METHOD()
254 zend_restore_error_handling(&error_handling); in PHP_METHOD()
262 zend_error_handling error_handling; in PHP_METHOD() local
278 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, &error_handling); in PHP_METHOD()
[all …]
/PHP-8.3/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()
61 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.3/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.3/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.3/ext/intl/resourcebundle/
H A Dresourcebundle_class.c75 static int resourcebundle_ctor(INTERNAL_FUNCTION_PARAMETERS, zend_error_handling *error_handling, b… in resourcebundle_ctor() argument
94 if (error_handling != NULL) { in resourcebundle_ctor()
95 zend_replace_error_handling(EH_THROW, IntlException_ce_ptr, error_handling); in resourcebundle_ctor()
144 zend_error_handling error_handling; in PHP_METHOD() local
148 …if (resourcebundle_ctor(INTERNAL_FUNCTION_PARAM_PASSTHRU, &error_handling, &error_handling_replace… in PHP_METHOD()
154 zend_restore_error_handling(&error_handling); in PHP_METHOD()
/PHP-8.3/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.c1253 if (EG(error_handling) == EH_THROW) { in php_error_cb()
/PHP-8.3/ext/spl/
H A Dspl_directory.c510 zend_error_handling error_handling; in spl_filesystem_object_create_type() local
578 zend_restore_error_handling(&error_handling); in spl_filesystem_object_create_type()
583 zend_restore_error_handling(&error_handling); in spl_filesystem_object_create_type()
722 zend_error_handling error_handling; in spl_filesystem_object_construct() local
761 zend_restore_error_handling(&error_handling); in spl_filesystem_object_construct()
1176 zend_error_handling error_handling; \
1185 zend_restore_error_handling(&error_handling); \
2041 zend_error_handling error_handling; in PHP_METHOD() local
2058 zend_restore_error_handling(&error_handling); in PHP_METHOD()
2086 zend_error_handling error_handling; in PHP_METHOD() local
[all …]
H A Dspl_iterators.c1324 zend_error_handling error_handling; in spl_dual_it_construct() local
1423 zend_replace_error_handling(EH_THROW, spl_ce_InvalidArgumentException, &error_handling); in spl_dual_it_construct()
1425 zend_restore_error_handling(&error_handling); in spl_dual_it_construct()
/PHP-8.3/Zend/
H A Dzend_globals.h234 zend_error_handling_t error_handling; member
H A Dzend.h407 ZEND_API void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *e…
H A Dzend_API.c5021 current->handling = EG(error_handling); in zend_save_error_handling()
5026 ZEND_API void zend_replace_error_handling(zend_error_handling_t error_handling, zend_class_entry *e… in zend_replace_error_handling() argument
5031 ZEND_ASSERT(error_handling == EH_THROW || exception_class == NULL); in zend_replace_error_handling()
5032 EG(error_handling) = error_handling; in zend_replace_error_handling()
5039 EG(error_handling) = saved->handling; in zend_restore_error_handling()
H A Dzend.c804 executor_globals->error_handling = EH_NORMAL; in executor_globals_ctor()
1439 || EG(error_handling) != EH_NORMAL) { in zend_error_zstr_at()
H A Dzend_execute_API.c150 EG(error_handling) = EH_NORMAL; in init_executor()

Completed in 90 milliseconds