Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Implement \ArgumentCountError exception | Davey Shafik | 2016-08-30 | 1 | -0/+1 |
| | |||||
* | Added ZEND_ATTRIBUTE_FORMAT to some middind functions. | Dmitry Stogov | 2016-06-21 | 1 | -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 49493a2 | Xinchen Hui | 2016-01-02 | 1 | -1/+1 |
| | |||||
* | Mark error and exception functions as "cold" (Matt's idea) | Dmitry Stogov | 2015-08-19 | 1 | -5/+5 |
| | |||||
* | Switch position of ce in exception ce variable names | Aaron Piotrowski | 2015-07-03 | 1 | -8/+8 |
| | |||||
* | Cleanup exception ce API | Aaron Piotrowski | 2015-07-03 | 1 | -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 ArithmeticError | Bob Weinand | 2015-07-02 | 1 | -0/+1 |
| | |||||
* | Use DivisionByZeroError instead of exception for %/intdiv() | Bob Weinand | 2015-07-02 | 1 | -0/+1 |
| | |||||
* | Show exception source in phpdbg | Bob Weinand | 2015-06-29 | 1 | -0/+1 |
| | |||||
* | Move definition of Throwable to zend_exceptions.h/c | Aaron Piotrowski | 2015-06-15 | 1 | -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 Piotrowski | 2015-05-17 | 1 | -2/+0 |
| | | | | Soap extension can use other API functions. | ||||
* | Remodel exceptions based on Throwable interface | Aaron Piotrowski | 2015-05-16 | 1 | -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 Ferrara | 2015-03-18 | 1 | -0/+1 |
| | | | | behavior. Add zend_internal_type_error() function | ||||
* | Implement engine exceptions | Dmitry Stogov | 2015-03-09 | 1 | -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 year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | |||||
* | trailing whitespace removal | Stanislav Malyshev | 2015-01-10 | 1 | -1/+1 |
| | |||||
* | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -15/+15 |
| | |||||
* | Expose zend_throw_exception_internal() | Dmitry Stogov | 2014-10-01 | 1 | -1/+1 |
| | |||||
* | fix length data types | Anatol Belski | 2014-09-19 | 1 | -2/+2 |
| | |||||
* | several signature and data type fixes | Anatol Belski | 2014-08-26 | 1 | -3/+3 |
| | |||||
* | Added vstrpprintf strpprintf to avoid duplicate string | Xinchen Hui | 2014-05-10 | 1 | -0/+1 |
| | | | | (the function name maybe improvement) | ||||
* | Use better data structures (incomplete) | Dmitry Stogov | 2014-02-10 | 1 | -5/+5 |
| | |||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Make message and format arguments const char * to avoid | Remi Collet | 2013-09-23 | 1 | -4/+4 |
| | | | | build warning about invalid cast. | ||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | - Reverted unintended modification | Felipe Pena | 2010-08-18 | 1 | -1/+1 |
| | |||||
* | align declaration with definition | Sascha Schumann | 2010-08-17 | 1 | -1/+1 |
| | | | | | (patch by kalle) | ||||
* | sed -i "s#1998-2009#1998-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-05 | 1 | -1/+1 |
| | |||||
* | - MFH Catch exceptions in cli -a | Marcus Boerger | 2009-01-02 | 1 | -2/+2 |
| | |||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | - MFH Improve exception linking | Marcus Boerger | 2008-08-14 | 1 | -1/+3 |
| | |||||
* | - MFH Exception handling | Marcus Boerger | 2008-07-13 | 1 | -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 Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | - MFH as discussed | Marcus Boerger | 2006-05-09 | 1 | -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 2006 | Andi Gutmans | 2006-01-04 | 1 | -1/+1 |
| | |||||
* | Bump up the year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | - Add new class ErrorException to encapsulate errors in exceptions | Marcus Boerger | 2004-07-15 | 1 | -2/+5 |
| | |||||
* | Revert; obviously I missed the function at the bottom of the file... | Wez Furlong | 2004-05-20 | 1 | -1/+1 |
| | |||||
* | Export this, so extensions may throw their own exception objects that | Wez Furlong | 2004-05-20 | 1 | -1/+1 |
| | | | | | they have already instantiated. | ||||
* | Fix c++ builds | Marcus Boerger | 2004-04-28 | 1 | -1/+1 |
| | |||||
* | - Add hook for exception handler (Derick) | Andi Gutmans | 2004-04-13 | 1 | -0/+2 |
| | |||||
* | Centralize exceptions code in zend_exceptions.[ch]. | Zeev Suraski | 2004-02-12 | 1 | -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 Suraski | 2004-02-12 | 1 | -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.. | foobar | 2004-01-08 | 1 | -1/+1 |
| | | | | | # Should the LICENSE and Zend/LICENSE dates be updated too? | ||||
* | - Calling abstract methods should be a error for consistency reason. | Marcus Boerger | 2003-08-30 | 1 | -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 Boerger | 2003-08-30 | 1 | -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 Boerger | 2003-08-28 | 1 | -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. # |