summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement \ArgumentCountError exceptionDavey Shafik2016-08-301-0/+1
|
* Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-211-3/+3
| | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
* bump year which is missed in rev 49493a2Xinchen Hui2016-01-021-1/+1
|
* Mark error and exception functions as "cold" (Matt's idea)Dmitry Stogov2015-08-191-5/+5
|
* Switch position of ce in exception ce variable namesAaron Piotrowski2015-07-031-8/+8
|
* Cleanup exception ce APIAaron Piotrowski2015-07-031-4/+11
| | | | | Removed recently added functions to get Error ce's and marked the old functions fetching default_exception_ce and error_exception_ce as deprecated.
* Introduce ArithmeticErrorBob Weinand2015-07-021-0/+1
|
* Use DivisionByZeroError instead of exception for %/intdiv()Bob Weinand2015-07-021-0/+1
|
* Show exception source in phpdbgBob Weinand2015-06-291-0/+1
|
* Move definition of Throwable to zend_exceptions.h/cAaron Piotrowski2015-06-151-0/+2
| | | | | Also moved REGISTER_ITERATOR_INTERFACE macro to zend_interfaces.h and renamed it to REGISTER_INTERFACE.
* Make zend_get_exception_base static.Aaron Piotrowski2015-05-171-2/+0
| | | | Soap extension can use other API functions.
* Remodel exceptions based on Throwable interfaceAaron Piotrowski2015-05-161-4/+5
| | | | | | | | | | | Added Throwable interface that exceptions must implement in order to be thrown. BaseException was removed, EngineException renamed to Error, and TypeException and ParseException renamed to TypeError and ParseError. Exception and Error no longer extend a common base class, rather they both implement the Throwable interface.
* Refactor error implementation significantly to centralize error mode ↵Anthony Ferrara2015-03-181-0/+1
| | | | behavior. Add zend_internal_type_error() function
* Implement engine exceptionsDmitry Stogov2015-03-091-0/+3
| | | | | | | RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7 Pending changes regarding naming of BaseException and whether it should be an interface.
* bump yearXinchen Hui2015-01-151-1/+1
|
* trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
|
* first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-15/+15
|
* Expose zend_throw_exception_internal()Dmitry Stogov2014-10-011-1/+1
|
* fix length data typesAnatol Belski2014-09-191-2/+2
|
* several signature and data type fixesAnatol Belski2014-08-261-3/+3
|
* Added vstrpprintf strpprintf to avoid duplicate stringXinchen Hui2014-05-101-0/+1
| | | | (the function name maybe improvement)
* Use better data structures (incomplete)Dmitry Stogov2014-02-101-5/+5
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Make message and format arguments const char * to avoidRemi Collet2013-09-231-4/+4
| | | | build warning about invalid cast.
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* - Reverted unintended modificationFelipe Pena2010-08-181-1/+1
|
* align declaration with definitionSascha Schumann2010-08-171-1/+1
| | | | | (patch by kalle)
* sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-051-1/+1
|
* - MFH Catch exceptions in cli -aMarcus Boerger2009-01-021-2/+2
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* - MFH Improve exception linkingMarcus Boerger2008-08-141-1/+3
|
* - MFH Exception handlingMarcus Boerger2008-07-131-0/+2
| | | | | | | | | | [DOC] - Exceptions can be thrown while exceptions are pending, they are linked - Exceptions can be handled in __destruct - Add optional Exception $previous parameter to . Exception::__construct . ErrorException::__construct
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* - MFH as discussedMarcus Boerger2006-05-091-3/+6
| | | | | | | | | | | | | | | | | | | | | . zend_exception_get_default() -> zend_exception_get_default(TSRMLS_D) . zend_get_error_exception() -> zend_get_error_exception(TSRMLS_D) . added E_RECOVERABLE_ERROR . added ZEND_TOSTRING_FUNC_NAME . added __tostring function cache to zend_class_entry . added ZEND_NAMED_ME . modified ZEND_ME_MAPPING to support method flags . added ZEND_MN . method entries now use prefix "zim_" instead of "zif_" . drop EG(ze1_compatibility_mode) . changed cast handler, now without (int should_free): typedef int (*zend_object_cast_t)(zval *readobj, zval *retval, int type TSRMLS_DC); . changed get_iterator, now receives whether value is by ref: zend_object_iterator *(*get_iterator)(zend_class_entry *ce, zval *object, int by_ref TSRMLS_DC); . added zend_objects_store_add_ref_by_handle . added zend_objects_store_del_ref_by_handle . convert_to_explicit_type(pzv, type)
* - Update copyright notices to 2006Andi Gutmans2006-01-041-1/+1
|
* Bump up the yearfoobar2005-08-031-1/+1
|
* - Add new class ErrorException to encapsulate errors in exceptionsMarcus Boerger2004-07-151-2/+5
|
* Revert; obviously I missed the function at the bottom of the file...Wez Furlong2004-05-201-1/+1
|
* Export this, so extensions may throw their own exception objects thatWez Furlong2004-05-201-1/+1
| | | | | they have already instantiated.
* Fix c++ buildsMarcus Boerger2004-04-281-1/+1
|
* - Add hook for exception handler (Derick)Andi Gutmans2004-04-131-0/+2
|
* Centralize exceptions code in zend_exceptions.[ch].Zeev Suraski2004-02-121-3/+10
| | | | | | | | Remove zend_default_classes.h (use zend_exceptions.h instead) NOTE: This currently breaks the build, fixes to php-src and pecl coming soon
* Exceptions updates:Zeev Suraski2004-02-121-0/+1
| | | | | | | | - Enforce exceptions to be derived from class Exception. This allows users to perform catch-all. It's not yet complete, so don't get comfortable with it just yet :) Updates are coming soon. - Implement zend_throw_exception() using zend_throw_exception_ex()
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-1/+1
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* - Calling abstract methods should be a error for consistency reason.Marcus Boerger2003-08-301-1/+0
| | | | | - So in reflection_api we use the reflection_exception again.
* - The compiler can't detect all abstract function calls so we need to check.Marcus Boerger2003-08-301-0/+1
| | | | | | # In this case throwing a dedicated exception is better than the error we # show when the compiler can detect the abstract call because its run-time.
* Add zend_throw_exception_ex() which allows to format exception messages.Marcus Boerger2003-08-281-0/+1
| | | | | | | | | # # Since we don't have any portable way of printing into a dynamic buffer i # used a stack buffer of 1K (just like the error printing) and used a dynamic # buffer in case the necessary function is available. #