mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- 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
This commit is contained in:
parent
6dc04d98f2
commit
f9de3fd02b
6 changed files with 473 additions and 13 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue