Home
last modified time | relevance | path

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

12

/PHP-7.1/ext/standard/
H A Drandom.c90 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
144 zend_throw_exception(zend_ce_exception, "Cannot open source device", 0); in php_random_bytes()
158 zend_throw_exception(zend_ce_exception, "Error reading from source device", 0); in php_random_bytes()
174 zend_throw_exception(zend_ce_exception, "Could not gather sufficient random data", 0); in php_random_bytes()
197 zend_throw_exception(zend_ce_error, "Length must be greater than 0", 0); in PHP_FUNCTION()
271zend_throw_exception(zend_ce_error, "Minimum value must be less than or equal to the maximum value… in PHP_FUNCTION()
H A Dassert.c247 zend_throw_exception(assertion_error_ce, NULL, E_ERROR); in PHP_FUNCTION()
254 zend_throw_exception(assertion_error_ce, ZSTR_VAL(str), E_ERROR); in PHP_FUNCTION()
/PHP-7.1/ext/spl/
H A Dspl_heap.c590zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
614zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
621 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in SPL_METHOD()
641zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
672zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
679 zend_throw_exception(spl_ce_RuntimeException, "Can't extract from an empty heap", 0); in SPL_METHOD()
711zend_throw_exception(spl_ce_RuntimeException, "Heap is corrupted, heap properties are no longer en… in SPL_METHOD()
718 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in SPL_METHOD()
839 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty heap", 0); in SPL_METHOD()
1092zend_throw_exception(spl_ce_RuntimeException, "An iterator cannot be used with foreach by referenc… in spl_heap_get_iterator()
[all …]
H A Dspl_dllist.c612 zend_throw_exception(spl_ce_RuntimeException, "Can't pop from an empty datastructure", 0); in SPL_METHOD()
632 zend_throw_exception(spl_ce_RuntimeException, "Can't shift from an empty datastructure", 0); in SPL_METHOD()
653 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in SPL_METHOD()
677 zend_throw_exception(spl_ce_RuntimeException, "Can't peek at an empty datastructure", 0); in SPL_METHOD()
793 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid or out of range", 0); in SPL_METHOD()
805 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid", 0); in SPL_METHOD()
833 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid or out of range", 0); in SPL_METHOD()
856 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid", 0); in SPL_METHOD()
881 zend_throw_exception(spl_ce_OutOfRangeException, "Offset out of range", 0); in SPL_METHOD()
922 zend_throw_exception(spl_ce_OutOfRangeException, "Offset invalid", 0); in SPL_METHOD()
[all …]
H A Dspl_fixedarray.c322 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_read_dimension_helper()
333 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_read_dimension_helper()
390 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_write_dimension_helper()
401 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_write_dimension_helper()
449 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_unset_dimension_helper()
1017zend_throw_exception(spl_ce_RuntimeException, "An iterator cannot be used with foreach by referenc… in spl_fixedarray_get_iterator()
H A Dspl_observer.c129 zend_throw_exception(spl_ce_RuntimeException, "Hash needs to be a string", 0); in spl_object_storage_get_hash()
1001 zend_throw_exception(spl_ce_InvalidArgumentException, "Info must be NULL, integer or string", 0); in SPL_METHOD()
1008 zend_throw_exception(spl_ce_InvalidArgumentException, "Key duplication error", 0); in SPL_METHOD()
1141 zend_throw_exception(spl_ce_RuntimeException, "Failed to call sub iterator method", 0); in spl_multiple_iterator_get_all()
1146zend_throw_exception(spl_ce_RuntimeException, "Called current() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1148 zend_throw_exception(spl_ce_RuntimeException, "Called key() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1165zend_throw_exception(spl_ce_InvalidArgumentException, "Sub-Iterator is associated with NULL", 0); in spl_multiple_iterator_get_all()
/PHP-7.1/ext/com_dotnet/
H A Dcom_misc.c40 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)(uint32_t)code); in php_com_throw_exception()
42 zend_throw_exception(php_com_exception_class_entry, message, (zend_long)code); in php_com_throw_exception()
/PHP-7.1/ext/dom/
H A Ddomexception.c46 zend_throw_exception(dom_domexception_class_entry, error_message, error_code); in php_dom_throw_error_with_message()
/PHP-7.1/ext/intl/collator/
H A Dcollator_create.c85 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-7.1/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.1/ext/intl/dateformat/
H A Ddateformat_class.c99 zend_throw_exception(NULL, "Failed to clone IntlDateFormatter object", 0); in IntlDateFormatter_object_clone()
102 zend_throw_exception(NULL, "Cannot clone unconstructed IntlDateFormatter", 0); in IntlDateFormatter_object_clone()
H A Ddateformat_create.cpp219 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-7.1/Zend/
H A Dzend_exceptions.h59 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me…
H A Dzend_generators.c674zend_throw_exception(zend_ce_ClosedGeneratorException, "Generator yielded from aborted, no return … in zend_generator_update_current()
907 zend_throw_exception(NULL, "Cannot rewind a generator that was already run", 0); in zend_generator_rewind()
1110 zend_throw_exception(NULL, in ZEND_METHOD()
1131 zend_throw_exception(NULL, "Unserialization of 'Generator' is not allowed", 0); in ZEND_METHOD()
1223 zend_throw_exception(NULL, "Cannot traverse an already closed generator", 0); in zend_generator_get_iterator()
1228zend_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.c926 zend_throw_exception(zend_ce_parse_error, error, 0); in zenderror()
1354 zend_throw_exception(exception_ce, message, 0); in zend_throw_error()
1371 zend_throw_exception(zend_ce_type_error, message, 0); in zend_type_error()
1384 zend_throw_exception(zend_ce_type_error, message, 0); in zend_internal_type_error()
1401 zend_throw_exception(zend_ce_argument_count_error, message, 0); in zend_internal_argument_count_error()
/PHP-7.1/ext/fileinfo/
H A Dfileinfo.c319 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
328 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
347 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
360 zend_throw_exception(NULL, "Constructor failed", 0); in PHP_FUNCTION()
/PHP-7.1/ext/intl/msgformat/
H A Dmsgformat.c119 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-7.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-7.1/ext/curl/
H A Dcurl_file.c142 zend_throw_exception(NULL, "Unserialization of CURLFile instances is not allowed", 0); in ZEND_METHOD()
/PHP-7.1/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.cpp123 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in BreakIterator_clone_obj()
130 zend_throw_exception(NULL, "Cannot clone unconstructed BreakIterator", 0); in BreakIterator_clone_obj()
/PHP-7.1/ext/intl/timezone/
H A Dtimezone_class.cpp249 zend_throw_exception(NULL, ZSTR_VAL(err_msg), 0); in TimeZone_clone_obj()
255 zend_throw_exception(NULL, "Cannot clone unconstructed IntlTimeZone", 0); in TimeZone_clone_obj()
272 zend_throw_exception(NULL, "Comparison with at least one unconstructed " in TimeZone_compare_objects()
/PHP-7.1/ext/intl/calendar/
H A Dgregoriancalendar_methods.cpp114 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in _php_intlgregcal_constructor_body()
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()

Completed in 87 milliseconds

12