Home
last modified time | relevance | path

Searched refs:zend_throw_exception (Results 1 – 25 of 53) sorted by relevance

123

/PHP-8.1/ext/sodium/
H A Dlibsodium.c525 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
567 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
648 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
685 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
726 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
773 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
798 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
829 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
981 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
1059 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
[all …]
/PHP-8.1/ext/standard/
H A Drandom.c97 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
110 zend_throw_exception(zend_ce_exception, "Error generating bytes", 0); in php_random_bytes()
172 zend_throw_exception(zend_ce_exception, "Cannot open source device", 0); in php_random_bytes()
186 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_random_bytes()
202 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
/PHP-8.1/ext/intl/formatter/
H A Dformatter_class.c81 zend_throw_exception(NULL, "Failed to clone NumberFormatter object", 0); in NumberFormatter_object_clone()
84 zend_throw_exception(NULL, "Cannot clone unconstructed NumberFormatter", 0); in NumberFormatter_object_clone()
H A Dformatter_main.c98 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-8.1/ext/intl/dateformat/
H A Ddateformat_class.c86 zend_throw_exception(NULL, "Failed to clone IntlDateFormatter object", 0); in IntlDateFormatter_object_clone()
89 zend_throw_exception(NULL, "Cannot clone unconstructed IntlDateFormatter", 0); in IntlDateFormatter_object_clone()
H A Ddatepatterngenerator_class.cpp58 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in IntlDatePatternGenerator_object_clone()
64 zend_throw_exception(NULL, "Cannot clone unconstructed IntlDatePatternGenerator", 0); in IntlDatePatternGenerator_object_clone()
H A Ddatepatterngenerator_methods.cpp99 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
/PHP-8.1/tests/lang/
H A Dzend_throw_exception_001.phpt2 zend_throw_exception with NULL message
/PHP-8.1/ext/spl/
H A Dspl_heap.c624zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in PHP_METHOD()
647zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in PHP_METHOD()
652 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in PHP_METHOD()
673zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in PHP_METHOD()
714zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in PHP_METHOD()
719 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in PHP_METHOD()
741zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in PHP_METHOD()
748 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in PHP_METHOD()
769 zend_throw_exception(spl_ce_RuntimeException, "Must specify at least one extract flag", 0); in PHP_METHOD()
852zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in PHP_METHOD()
[all …]
H A Dspl_observer.c90 zend_throw_exception(spl_ce_RuntimeException, "Hash needs to be a string", 0); in spl_object_storage_get_hash()
567 zend_throw_exception(spl_ce_RuntimeException, "Called current() on invalid iterator", 0); in PHP_METHOD()
836 zend_throw_exception(spl_ce_UnexpectedValueException, in PHP_METHOD()
842 zend_throw_exception(spl_ce_UnexpectedValueException, "Odd number of elements", 0); in PHP_METHOD()
850 zend_throw_exception(spl_ce_UnexpectedValueException, "Non-object key", 0); in PHP_METHOD()
954 zend_throw_exception(spl_ce_InvalidArgumentException, "Key duplication error", 0); in PHP_METHOD()
1124 zend_throw_exception(spl_ce_RuntimeException, "Failed to call sub iterator method", 0); in spl_multiple_iterator_get_all()
1129zend_throw_exception(spl_ce_RuntimeException, "Called current() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1131 zend_throw_exception(spl_ce_RuntimeException, "Called key() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1148zend_throw_exception(spl_ce_InvalidArgumentException, "Sub-Iterator is associated with NULL", 0); in spl_multiple_iterator_get_all()
H A Dspl_dllist.c535 zend_throw_exception(spl_ce_RuntimeException, "Can't pop from an empty datastructure", 0); in PHP_METHOD()
554 zend_throw_exception(spl_ce_RuntimeException, "Can't shift from an empty datastructure", 0); in PHP_METHOD()
574 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in PHP_METHOD()
596 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in PHP_METHOD()
647zend_throw_exception(spl_ce_RuntimeException, "Iterators' LIFO/FIFO modes for SplStack/SplQueue ob… in PHP_METHOD()
1155 zend_throw_exception(spl_ce_UnexpectedValueException, in PHP_METHOD()
/PHP-8.1/ext/dom/
H A Ddomexception.c38 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message()
/PHP-8.1/ext/com_dotnet/
H A Dcom_misc.c36 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)(uint32_t)code); in php_com_throw_exception()
38 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)code); in php_com_throw_exception()
/PHP-8.1/ext/json/
H A Djson.c225 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex()
264zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.er… in PHP_FUNCTION()
303zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(PHP_JSON_ERROR_SYNTAX), PHP_JSO… in PHP_FUNCTION()
/PHP-8.1/ext/intl/collator/
H A Dcollator_create.c80 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-8.1/ext/fileinfo/
H A Dfileinfo.c211 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
220 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
239 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
252 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
/PHP-8.1/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp65 zend_throw_exception(IntlException_ce_ptr, in _php_intlrbbi_constructor_body()
87 zend_throw_exception(IntlException_ce_ptr, in _php_intlrbbi_constructor_body()
H A Dbreakiterator_class.cpp122 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in BreakIterator_clone_obj()
129 zend_throw_exception(NULL, "Cannot clone unconstructed BreakIterator", 0); in BreakIterator_clone_obj()
H A Dbreakiterator_iterators.cpp98 zend_throw_exception(NULL, in _breakiterator_get_iterator()
107 zend_throw_exception(NULL, in _breakiterator_get_iterator()
/PHP-8.1/ext/intl/timezone/
H A Dtimezone_class.cpp252 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in TimeZone_clone_obj()
258 zend_throw_exception(NULL, "Cannot clone unconstructed IntlTimeZone", 0); in TimeZone_clone_obj()
278 zend_throw_exception(NULL, "Comparison with at least one unconstructed " in TimeZone_compare_objects()
/PHP-8.1/Zend/
H A Dzend_exceptions.h60 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me…
H A Dzend_generators.c582zend_throw_exception(zend_ce_ClosedGeneratorException, "Generator yielded from aborted, no return … in zend_generator_update_current()
819 zend_throw_exception(NULL, "Cannot rewind a generator that was already run", 0); in zend_generator_rewind()
990 zend_throw_exception(NULL, in ZEND_METHOD()
1093 zend_throw_exception(NULL, "Cannot traverse an already closed generator", 0); in zend_generator_get_iterator()
1098zend_throw_exception(NULL, "You can only iterate a generator by-reference if it declared that it y… in zend_generator_get_iterator()
/PHP-8.1/ext/intl/common/
H A Dcommon_enum.cpp173 zend_throw_exception(NULL, in IntlIterator_get_iterator()
181 zend_throw_exception(NULL, in IntlIterator_get_iterator()
/PHP-8.1/ext/intl/calendar/
H A Dcalendar_class.cpp104 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in Calendar_clone_obj()
110 zend_throw_exception(NULL, "Cannot clone unconstructed IntlCalendar", 0); in Calendar_clone_obj()
/PHP-8.1/ext/intl/msgformat/
H A Dmsgformat.c129 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()

Completed in 137 milliseconds

123