Home
last modified time | relevance | path

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

12

/PHP-7.0/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.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.0/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()
1090zend_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.c234 zend_throw_exception(spl_ce_RuntimeException, "The instance wasn't initialized properly", 0); in spl_fixedarray_object_new_ex()
334 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_read_dimension_helper()
345 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_read_dimension_helper()
402 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_write_dimension_helper()
413 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_write_dimension_helper()
461 zend_throw_exception(spl_ce_RuntimeException, "Index invalid or out of range", 0); in spl_fixedarray_object_unset_dimension_helper()
1044zend_throw_exception(spl_ce_RuntimeException, "An iterator cannot be used with foreach by referenc… in spl_fixedarray_get_iterator()
H A Dspl_observer.c128 zend_throw_exception(spl_ce_RuntimeException, "Hash needs to be a string", 0); in spl_object_storage_get_hash()
986 zend_throw_exception(spl_ce_InvalidArgumentException, "Info must be NULL, integer or string", 0); in SPL_METHOD()
993 zend_throw_exception(spl_ce_InvalidArgumentException, "Key duplication error", 0); in SPL_METHOD()
1126 zend_throw_exception(spl_ce_RuntimeException, "Failed to call sub iterator method", 0); in spl_multiple_iterator_get_all()
1131zend_throw_exception(spl_ce_RuntimeException, "Called current() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1133 zend_throw_exception(spl_ce_RuntimeException, "Called key() with non valid sub iterator", 0); in spl_multiple_iterator_get_all()
1150zend_throw_exception(spl_ce_InvalidArgumentException, "Sub-Iterator is associated with NULL", 0); in spl_multiple_iterator_get_all()
/PHP-7.0/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.0/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.0/ext/intl/collator/
H A Dcollator_create.c85 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-7.0/ext/intl/formatter/
H A Dformatter_class.c89 zend_throw_exception(NULL, "Failed to clone NumberFormatter object", 0); in NumberFormatter_object_clone()
92 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.0/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.0/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.c523zend_throw_exception(zend_ce_ClosedGeneratorException, "Generator yielded from aborted, no return … in zend_generator_update_current()
760 zend_throw_exception(NULL, "Cannot rewind a generator that was already run", 0); in zend_generator_rewind()
963 zend_throw_exception(NULL, in ZEND_METHOD()
984 zend_throw_exception(NULL, "Unserialization of 'Generator' is not allowed", 0); in ZEND_METHOD()
1075 zend_throw_exception(NULL, "Cannot traverse an already closed generator", 0); in zend_generator_get_iterator()
1080zend_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_exceptions.c250 zend_throw_exception(NULL, "Cannot clone object using __clone()", 0); in ZEND_METHOD()
941 ZEND_API ZEND_COLD zend_object *zend_throw_exception(zend_class_entry *exception_ce, const char *me… in zend_throw_exception() function
977 obj = zend_throw_exception(exception_ce, message, code); in zend_throw_exception_ex()
986 zend_object *obj = zend_throw_exception(exception_ce, message, code); in zend_throw_error_exception()
/PHP-7.0/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.0/ext/intl/msgformat/
H A Dmsgformat.c119 zend_throw_exception(IntlException_ce_ptr, "Constructor failed", 0); in PHP_METHOD()
/PHP-7.0/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.0/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.0/ext/curl/
H A Dcurl_file.c142 zend_throw_exception(NULL, "Unserialization of CURLFile instances is not allowed", 0); in ZEND_METHOD()
/PHP-7.0/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.0/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 75 milliseconds

12