Home
last modified time | relevance | path

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

12

/PHP-7.3/ext/sodium/
H A Dlibsodium.c764 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
799 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
805 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
845 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
851 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1075 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1111 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1117 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1145 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
1170 zend_throw_exception(sodium_exception_ce, in PHP_FUNCTION()
[all …]
/PHP-7.3/ext/standard/
H A Drandom.c91 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
149 zend_throw_exception(zend_ce_exception, "Cannot open source device", 0); in php_random_bytes()
163 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_random_bytes()
179 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
202 zend_throw_exception(zend_ce_error, "Length must be greater than 0", 0); in PHP_FUNCTION()
277zend_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.3/ext/spl/
H A Dspl_heap.c585zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
609zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
616 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in SPL_METHOD()
636zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
667zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
674 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in SPL_METHOD()
705zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
712 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in SPL_METHOD()
832 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in SPL_METHOD()
1082zend_throw_exception(spl_ce_RuntimeException, "An iterator cannot be used with foreach by referenc… in spl_heap_get_iterator()
[all …]
H A Dspl_dllist.c611 zend_throw_exception(spl_ce_RuntimeException, "Can't pop from an empty datastructure", 0); in SPL_METHOD()
631 zend_throw_exception(spl_ce_RuntimeException, "Can't shift from an empty datastructure", 0); in SPL_METHOD()
652 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in SPL_METHOD()
675 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in SPL_METHOD()
790 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid or out of range", 0); in SPL_METHOD()
801 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid", 0); in SPL_METHOD()
829 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid or out of range", 0); in SPL_METHOD()
852 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid", 0); in SPL_METHOD()
877 zend_throw_exception(spl_ce_OutOfRangeException, "Offset out of range", 0); in SPL_METHOD()
918 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid", 0); in SPL_METHOD()
[all …]
H A Dspl_fixedarray.c318 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_read_dimension_helper()
329 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_read_dimension_helper()
377 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_write_dimension_helper()
388 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_write_dimension_helper()
435 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_unset_dimension_helper()
993zend_throw_exception(spl_ce_RuntimeException, "An iterator cannot be used with foreach by referenc… in spl_fixedarray_get_iterator()
H A Dspl_observer.c127 zend_throw_exception(spl_ce_RuntimeException, "Hash needs to be a string", 0); in spl_object_storage_get_hash()
1002 zend_throw_exception(spl_ce_InvalidArgumentException, "Info must be NULL, integer or string", 0); in SPL_METHOD()
1009 zend_throw_exception(spl_ce_InvalidArgumentException, "Key duplication error", 0); in SPL_METHOD()
1142 zend_throw_exception(spl_ce_RuntimeException, "Failed to call sub iterator method", 0); in spl_multiple_iterator_get_all()
1147zend_throw_exception(spl_ce_RuntimeException, "Called current() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1149 zend_throw_exception(spl_ce_RuntimeException, "Called key() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1166zend_throw_exception(spl_ce_InvalidArgumentException, "Sub-Iterator is associated with NULL", 0); in spl_multiple_iterator_get_all()
/PHP-7.3/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.3/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.3/ext/intl/collator/
H A Dcollator_create.c85 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-7.3/ext/json/
H A Djson.c257 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex()
297zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.er… in PHP_FUNCTION()
337zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(PHP_JSON_ERROR_SYNTAX), PHP_JSO… in PHP_FUNCTION()
/PHP-7.3/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.3/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.cpp220 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
/PHP-7.3/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.c630zend_throw_exception(zend_ce_ClosedGeneratorException, "Generator yielded from aborted, no return … in zend_generator_update_current()
867 zend_throw_exception(NULL, "Cannot rewind a generator that was already run", 0); in zend_generator_rewind()
1066 zend_throw_exception(NULL, in ZEND_METHOD()
1087 zend_throw_exception(NULL, "Unserialization of 'Generator' is not allowed", 0); in ZEND_METHOD()
1177 zend_throw_exception(NULL, "Cannot traverse an already closed generator", 0); in zend_generator_get_iterator()
1182zend_throw_exception(NULL, "You can only iterate a generator by-reference if it declared that it y… in zend_generator_get_iterator()
H A Dzend_language_scanner.l1020 zend_throw_exception(zend_ce_parse_error, in zend_scan_escape_string()
1032 zend_throw_exception(zend_ce_parse_error, in zend_scan_escape_string()
1172 zend_throw_exception(zend_ce_parse_error, in strip_multiline_string_indentation()
1791 zend_throw_exception(zend_ce_parse_error, "Invalid numeric literal", 0);
1810 zend_throw_exception(zend_ce_parse_error,
1821 zend_throw_exception(zend_ce_parse_error, "Invalid numeric literal", 0);
2325zend_throw_exception(zend_ce_parse_error, "Invalid indentation - tabs and spaces cannot be mixed",…
2597zend_throw_exception(zend_ce_parse_error, "Invalid indentation - tabs and spaces cannot be mixed",…
2721zend_throw_exception(zend_ce_parse_error, "Invalid indentation - tabs and spaces cannot be mixed",…
/PHP-7.3/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.3/ext/intl/msgformat/
H A Dmsgformat.c119 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-7.3/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.3/ext/curl/
H A Dcurl_file.c139 zend_throw_exception(NULL, "Unserialization of CURLFile instances is not allowed", 0); in ZEND_METHOD()
/PHP-7.3/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.3/ext/intl/timezone/
H A Dtimezone_class.cpp251 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in TimeZone_clone_obj()
257 zend_throw_exception(NULL, "Cannot clone unconstructed IntlTimeZone", 0); in TimeZone_clone_obj()
274 zend_throw_exception(NULL, "Comparison with at least one unconstructed " in TimeZone_compare_objects()

Completed in 171 milliseconds

12