Home
last modified time | relevance | path

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

123

/php-src/ext/sodium/
H A Dlibsodium.c310 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
352 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
433 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
470 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
511 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
558 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
583 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
614 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
766 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
844 zend_throw_exception(sodium_exception_ce, "internal error", 0); in PHP_FUNCTION()
[all …]
/php-src/tests/lang/
H A Dzend_throw_exception_001.phpt2 zend_throw_exception with NULL message
/php-src/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-src/ext/dom/
H A Ddomexception.c36 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message()
/php-src/ext/fileinfo/
H A Dfileinfo.c193 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
202 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
221 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
234 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
/php-src/ext/random/
H A Drandomizer.c223 zend_throw_exception(random_ce_Random_RandomException, "Generated value exceeds size of int", 0); in PHP_METHOD()
539 zend_throw_exception(NULL, "Invalid serialization data for Random\\Randomizer object", 0); in PHP_METHOD()
545 zend_throw_exception(NULL, "Invalid serialization data for Random\\Randomizer object", 0); in PHP_METHOD()
550 zend_throw_exception(NULL, "Invalid serialization data for Random\\Randomizer object", 0); in PHP_METHOD()
556 zend_throw_exception(NULL, "Invalid serialization data for Random\\Randomizer object", 0); in PHP_METHOD()
H A Dengine_mt19937.c282 zend_throw_exception(random_ce_Random_RandomException, "Failed to generate a random seed", 0); in PHP_METHOD()
334 zend_throw_exception(NULL, "Engine serialize failed", 0); in PHP_METHOD()
396 zend_throw_exception(NULL, "Engine serialize failed", 0); in PHP_METHOD()
H A Dengine_pcgoneseq128xslrr64.c157 zend_throw_exception(random_ce_Random_RandomException, "Failed to generate a random seed", 0); in PHP_METHOD()
H A Dcsprng.c219 zend_throw_exception(random_ce_Random_RandomException, errstr, 0); in php_random_bytes()
/php-src/ext/json/
H A Djson.c191 zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(error_code), error_code); in php_json_decode_ex()
248zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(encoder.error_code), encoder.er… in PHP_FUNCTION()
283zend_throw_exception(php_json_exception_ce, php_json_get_error_msg(PHP_JSON_ERROR_SYNTAX), PHP_JSO… in PHP_FUNCTION()
/php-src/ext/intl/collator/
H A Dcollator_create.c77 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/php-src/ext/intl/breakiterator/
H A Drulebasedbreakiterator_methods.cpp67 zend_throw_exception(IntlException_ce_ptr, in _php_intlrbbi_constructor_body()
89 zend_throw_exception(IntlException_ce_ptr, in _php_intlrbbi_constructor_body()
H A Dbreakiterator_iterators.cpp98 zend_throw_exception(NULL, in _breakiterator_get_iterator()
107 zend_throw_exception(NULL, in _breakiterator_get_iterator()
/php-src/ext/spl/
H A Dspl_observer.c706 zend_throw_exception(spl_ce_RuntimeException, "Called current() on invalid iterator", 0); in PHP_METHOD()
1027 zend_throw_exception(spl_ce_UnexpectedValueException, in PHP_METHOD()
1033 zend_throw_exception(spl_ce_UnexpectedValueException, "Odd number of elements", 0); in PHP_METHOD()
1041 zend_throw_exception(spl_ce_UnexpectedValueException, "Non-object key", 0); in PHP_METHOD()
1139 zend_throw_exception(spl_ce_InvalidArgumentException, "Key duplication error", 0); in PHP_METHOD()
1309 zend_throw_exception(spl_ce_RuntimeException, "Failed to call sub iterator method", 0); in spl_multiple_iterator_get_all()
1314zend_throw_exception(spl_ce_RuntimeException, "Called current() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1316 zend_throw_exception(spl_ce_RuntimeException, "Called key() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1333zend_throw_exception(spl_ce_InvalidArgumentException, "Sub-Iterator is associated with NULL", 0); in spl_multiple_iterator_get_all()
H A Dspl_heap.c608zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in spl_heap_consistency_validations()
613zend_throw_exception(spl_ce_RuntimeException, "Heap cannot be changed when it is already being mod… in spl_heap_consistency_validations()
659 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in PHP_METHOD()
724 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in PHP_METHOD()
752 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in PHP_METHOD()
773 zend_throw_exception(spl_ce_RuntimeException, "Must specify at least one extract flag", 0); in PHP_METHOD()
862 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in PHP_METHOD()
H A Dspl_dllist.c522 zend_throw_exception(spl_ce_RuntimeException, "Can't pop from an empty datastructure", 0); in PHP_METHOD()
541 zend_throw_exception(spl_ce_RuntimeException, "Can't shift from an empty datastructure", 0); in PHP_METHOD()
561 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in PHP_METHOD()
583 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in PHP_METHOD()
634zend_throw_exception(spl_ce_RuntimeException, "Iterators' LIFO/FIFO modes for SplStack/SplQueue ob… in PHP_METHOD()
1143 zend_throw_exception(spl_ce_UnexpectedValueException, in PHP_METHOD()
/php-src/ext/intl/formatter/
H A Dformatter_main.c104 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/php-src/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-src/ext/intl/dateformat/
H A Ddatepatterngenerator_methods.cpp99 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
H A Ddateformat_create.cpp225 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
/php-src/Zend/
H A Dzend_exceptions.h63 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me…
H A Dzend_language_scanner.l309 zend_throw_exception(zend_ce_parse_error, "Cannot use \"<?=\" as an identifier", 0); in zend_lex_tstring()
1051 zend_throw_exception(zend_ce_parse_error, in zend_scan_escape_string()
1063 zend_throw_exception(zend_ce_parse_error, in zend_scan_escape_string()
1203 zend_throw_exception(zend_ce_parse_error, in strip_multiline_string_indentation()
1258 zend_throw_exception(zend_ce_parse_error, buf, 0); in report_bad_nesting()
1634zend_throw_exception(zend_ce_parse_error, "The (real) cast has been removed, use (float) instead",… in lex_scan()
2057 zend_throw_exception(zend_ce_parse_error, "Invalid numeric literal", 0);
2674zend_throw_exception(zend_ce_parse_error, "Invalid indentation - tabs and spaces cannot be mixed",…
2947zend_throw_exception(zend_ce_parse_error, "Invalid indentation - tabs and spaces cannot be mixed",…
3071zend_throw_exception(zend_ce_parse_error, "Invalid indentation - tabs and spaces cannot be mixed",…
H A Dzend_generators.c623zend_throw_exception(zend_ce_ClosedGeneratorException, "Generator yielded from aborted, no return … in zend_generator_update_current()
889 zend_throw_exception(NULL, "Cannot rewind a generator that was already run", 0); in zend_generator_rewind()
1060 zend_throw_exception(NULL, in ZEND_METHOD()
1192 zend_throw_exception(NULL, "Cannot traverse an already closed generator", 0); in zend_generator_get_iterator()
1197zend_throw_exception(NULL, "You can only iterate a generator by-reference if it declared that it y… in zend_generator_get_iterator()
/php-src/ext/intl/msgformat/
H A Dmsgformat.c127 zend_throw_exception(IntlException_ce_ptr, ZSTR_VAL(err), intl_error_get_code(NULL)); in PHP_METHOD()
/php-src/ext/hash/
H A Dhash.c1144 zend_throw_exception(zend_ce_error, "Illegal call to private/final constructor", 0); in PHP_METHOD()
1406 zend_throw_exception(zend_ce_value_error, "Cannot clone a finalized HashContext", 0); in php_hashcontext_clone()
1468 zend_throw_exception(NULL, "HashContext with HASH_HMAC option cannot be serialized", 0); in PHP_METHOD()
1515 zend_throw_exception(NULL, "HashContext::__unserialize called on initialized object", 0); in PHP_METHOD()
1530 zend_throw_exception(NULL, "Incomplete or ill-formed serialization data", 0); in PHP_METHOD()
1537 zend_throw_exception(NULL, "HashContext with HASH_HMAC option cannot be serialized", 0); in PHP_METHOD()
1543 zend_throw_exception(NULL, "Unknown hash algorithm", 0); in PHP_METHOD()

Completed in 98 milliseconds

123