diff options
| author | Marcus Boerger <helly@php.net> | 2005-03-12 23:03:33 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2005-03-12 23:03:33 +0000 |
| commit | f9de3fd02b236b03d607979e8b1e98a26f90ae44 (patch) | |
| tree | 12babe9b6f6cddb9af672cfcda7f047923ae38dc /ext/spl/spl_exceptions.c | |
| parent | 6dc04d98f21ead4ec16b26b463293421ba932974 (diff) | |
| download | php-git-f9de3fd02b236b03d607979e8b1e98a26f90ae44.tar.gz | |
- Allow to hook into RecursiveIteratorIterator's child handling
- Better=faster function caching for RecursiveIteratorIterator
- Check for exceptions and fix check for illegal return values
- Add UnexpectedValueException
- Add docu
Diffstat (limited to 'ext/spl/spl_exceptions.c')
| -rwxr-xr-x | ext/spl/spl_exceptions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/spl/spl_exceptions.c b/ext/spl/spl_exceptions.c index c4f3a6b46f..8d0bbfa060 100755 --- a/ext/spl/spl_exceptions.c +++ b/ext/spl/spl_exceptions.c @@ -45,6 +45,7 @@ PHPAPI zend_class_entry *spl_ce_OutOfBoundsException; PHPAPI zend_class_entry *spl_ce_OverflowException; PHPAPI zend_class_entry *spl_ce_RangeException; PHPAPI zend_class_entry *spl_ce_UnderflowException; +PHPAPI zend_class_entry *spl_ce_UnexpectedValueException; #define spl_ce_Exception zend_exception_get_default() @@ -64,6 +65,7 @@ PHP_MINIT_FUNCTION(spl_exceptions) REGISTER_SPL_SUB_CLASS_EX(OverflowException, RuntimeException, NULL, NULL); REGISTER_SPL_SUB_CLASS_EX(RangeException, RuntimeException, NULL, NULL); REGISTER_SPL_SUB_CLASS_EX(UnderflowException, RuntimeException, NULL, NULL); + REGISTER_SPL_SUB_CLASS_EX(UnexpectedValueException, RuntimeException, NULL, NULL); return SUCCESS; } |
