summaryrefslogtreecommitdiff
path: root/Zend/zend_exceptions.h
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-03-21 01:00:00 +0300
committerDmitry Stogov <dmitry@zend.com>2015-03-21 01:00:00 +0300
commit430266edfa93e04cf5199d289050ba14866645b3 (patch)
tree8417c4f5c30fb6da767376d3f6aa568cd3d7ad88 /Zend/zend_exceptions.h
parenta43a9c91374b3cd9864eea5e7c0b0e2e9dafa2e2 (diff)
parent1f408af03cf5dcfbcabebb20f162d2ed787b5579 (diff)
downloadphp-git-430266edfa93e04cf5199d289050ba14866645b3.tar.gz
Merge branch 'scalar_type_hints_v5'
* scalar_type_hints_v5: (65 commits) Fixed in-place modification of IS_CONST operand Changed SKIPIF messages ZPP changed to lazely check for "strict/weak" only if it's really necessary. Cleanup. cleanup Fixed return type hint handling for constants Fixed tests Imroved ZPP rules (condititins reoredered to prevent duplicate checks) Fixed comments Fixed error messages Improved type hinting: Fixed white spaces Add check for maintaining reference all the way through both type and return values Reduce the number of times that the zval needs to be separated in return type checking to those that are necessary Add test to ensure namespaced code can't use scalar types as class names Disallow relative namespace type declarations Add support and tests for null constant default values. Refactor complex conditionals into an extracted function for clarity and code-reuse Refactor as to not use call info, but add the flag to the op_array. Fix severity issues with callbacks, start work porting ZEND_STRLEN opcode to work with strict mode, more refactoring to come Fix C89 compatibility by moving a misplaced if statement Refactor gotos into more elaborate ifs to eliminate goto failure ...
Diffstat (limited to 'Zend/zend_exceptions.h')
-rw-r--r--Zend/zend_exceptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_exceptions.h b/Zend/zend_exceptions.h
index 10609fecb6..e2c1f1fac7 100644
--- a/Zend/zend_exceptions.h
+++ b/Zend/zend_exceptions.h
@@ -39,6 +39,7 @@ ZEND_API zend_class_entry *zend_exception_get_default(void);
ZEND_API zend_class_entry *zend_get_error_exception(void);
ZEND_API zend_class_entry *zend_get_engine_exception(void);
ZEND_API zend_class_entry *zend_get_parse_exception(void);
+ZEND_API zend_class_entry *zend_get_type_exception(void);
ZEND_API void zend_register_default_classes(void);
/* exception_ce NULL or zend_exception_get_default() or a derived class