Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/sodium/
H A Dlibsodium.c781 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
816 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
822 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
862 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
868 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1092 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1128 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1134 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1162 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1187 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
[all …]
/PHP-7.4/ext/standard/
H A Drandom.c95 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
157 zend_throw_exception(zend_ce_exception, "Cannot open source device", 0); in php_random_bytes()
171 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_random_bytes()
187 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
210 zend_throw_exception(zend_ce_error, "Length must be greater than 0", 0); in PHP_FUNCTION()
285zend_throw_exception(zend_ce_error, "Minimum value must be less than or equal to the maximum value… in PHP_FUNCTION()
H A Dassert.c246 zend_throw_exception(assertion_error_ce, NULL, E_ERROR); in PHP_FUNCTION()
253 zend_throw_exception(assertion_error_ce, ZSTR_VAL(str), E_ERROR); in PHP_FUNCTION()
/PHP-7.4/ext/spl/
H A Dspl_heap.c620zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
644zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
649 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in SPL_METHOD()
670zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
697zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
702 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in SPL_METHOD()
732 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in SPL_METHOD()
754 zend_throw_exception(spl_ce_RuntimeException, "Must specify at least one extract flag", 0); in SPL_METHOD()
849 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in SPL_METHOD()
1105zend_throw_exception(spl_ce_RuntimeException, "An iterator cannot be used with foreach by referenc… in spl_heap_get_iterator()
[all …]
H A Dspl_dllist.c610 zend_throw_exception(spl_ce_RuntimeException, "Can't pop from an empty datastructure", 0); in SPL_METHOD()
651 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in SPL_METHOD()
674 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in SPL_METHOD()
789 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid or out of range", 0); in SPL_METHOD()
800 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid", 0); in SPL_METHOD()
828 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid or out of range", 0); in SPL_METHOD()
851 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid", 0); in SPL_METHOD()
876 zend_throw_exception(spl_ce_OutOfRangeException, "Offset out of range", 0); in SPL_METHOD()
917 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid", 0); in SPL_METHOD()
1278 zend_throw_exception(spl_ce_UnexpectedValueException, in SPL_METHOD()
[all …]
H A Dspl_observer.c127 zend_throw_exception(spl_ce_RuntimeException, "Hash needs to be a string", 0); in spl_object_storage_get_hash()
918 zend_throw_exception(spl_ce_UnexpectedValueException, in SPL_METHOD()
924 zend_throw_exception(spl_ce_UnexpectedValueException, "Odd number of elements", 0); in SPL_METHOD()
932 zend_throw_exception(spl_ce_UnexpectedValueException, "Non-object key", 0); in SPL_METHOD()
1086 zend_throw_exception(spl_ce_InvalidArgumentException, "Info must be NULL, integer or string", 0); in SPL_METHOD()
1093 zend_throw_exception(spl_ce_InvalidArgumentException, "Key duplication error", 0); in SPL_METHOD()
1226 zend_throw_exception(spl_ce_RuntimeException, "Failed to call sub iterator method", 0); in spl_multiple_iterator_get_all()
1231zend_throw_exception(spl_ce_RuntimeException, "Called current() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1233 zend_throw_exception(spl_ce_RuntimeException, "Called key() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1250zend_throw_exception(spl_ce_InvalidArgumentException, "Sub-Iterator is associated with NULL", 0); in spl_multiple_iterator_get_all()
H A Dspl_fixedarray.c324 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_read_dimension_helper()
335 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_read_dimension_helper()
383 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_write_dimension_helper()
394 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_write_dimension_helper()
443 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_unset_dimension_helper()
1001zend_throw_exception(spl_ce_RuntimeException, "An iterator cannot be used with foreach by referenc… in spl_fixedarray_get_iterator()
/PHP-7.4/ext/dom/
H A Ddomexception.c44 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message()
/PHP-7.4/ext/com_dotnet/
H A Dcom_misc.c38 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)(uint32_t)code); in php_com_throw_exception()
40 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)code); in php_com_throw_exception()
/PHP-7.4/ext/intl/collator/
H A Dcollator_create.c85 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-7.4/ext/json/
H A Djson.c256 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex()
296zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.er… in PHP_FUNCTION()
336zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(PHP_JSON_ERROR_SYNTAX), PHP_JSO… in PHP_FUNCTION()
/PHP-7.4/ext/intl/formatter/
H A Dformatter_class.c82 zend_throw_exception(NULL, "Failed to clone NumberFormatter object", 0); in NumberFormatter_object_clone()
85 zend_throw_exception(NULL, "Cannot clone unconstructed NumberFormatter", 0); in NumberFormatter_object_clone()
H A Dformatter_main.c100 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-7.4/ext/intl/dateformat/
H A Ddateformat_class.c98 zend_throw_exception(NULL, "Failed to clone IntlDateFormatter object", 0); in IntlDateFormatter_object_clone()
101 zend_throw_exception(NULL, "Cannot clone unconstructed IntlDateFormatter", 0); in IntlDateFormatter_object_clone()
H A Ddateformat_create.cpp216 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
/PHP-7.4/Zend/
H A Dzend_exceptions.h58 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me…
H A Dzend_generators.c659zend_throw_exception(zend_ce_ClosedGeneratorException, "Generator yielded from aborted, no return … in zend_generator_update_current()
899 zend_throw_exception(NULL, "Cannot rewind a generator that was already run", 0); in zend_generator_rewind()
1098 zend_throw_exception(NULL, in ZEND_METHOD()
1193 zend_throw_exception(NULL, "Cannot traverse an already closed generator", 0); in zend_generator_get_iterator()
1198zend_throw_exception(NULL, "You can only iterate a generator by-reference if it declared that it y… in zend_generator_get_iterator()
/PHP-7.4/ext/fileinfo/
H A Dfileinfo.c322 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
331 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
350 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
363 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
/PHP-7.4/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-7.4/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp98 zend_throw_exception(NULL, in _breakiterator_get_iterator()
107 zend_throw_exception(NULL, in _breakiterator_get_iterator()
H A Dbreakiterator_class.cpp124 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in BreakIterator_clone_obj()
131 zend_throw_exception(NULL, "Cannot clone unconstructed BreakIterator", 0); in BreakIterator_clone_obj()
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat.c135 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
/PHP-7.4/ext/intl/timezone/
H A Dtimezone_class.cpp253 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in TimeZone_clone_obj()
259 zend_throw_exception(NULL, "Cannot clone unconstructed IntlTimeZone", 0); in TimeZone_clone_obj()
276 zend_throw_exception(NULL, "Comparison with at least one unconstructed " in TimeZone_compare_objects()
/PHP-7.4/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp121 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in _php_intlgregcal_constructor_body()
H A Dcalendar_class.cpp107 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in Calendar_clone_obj()
113 zend_throw_exception(NULL, "Cannot clone unconstructed IntlCalendar", 0); in Calendar_clone_obj()

Completed in 91 milliseconds

12