summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorAaron Piotrowski <aaron@trowski.com>2015-07-03 09:44:48 -0500
committerAaron Piotrowski <aaron@trowski.com>2015-07-03 09:44:48 -0500
commita812a74c2e60a0ba080057067a7634e4da3f2b9b (patch)
tree7cd6fd55b3fdfe61b22c9370fe23427c6b344243 /ext/reflection/php_reflection.c
parentf9e9d3a43792846a483092bce409bc9927d24848 (diff)
downloadphp-git-a812a74c2e60a0ba080057067a7634e4da3f2b9b.tar.gz
Change zend_exception_get_default() to zend_exception_ce
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index 0a65d60d21..36fe531612 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -6572,7 +6572,7 @@ PHP_MINIT_FUNCTION(reflection) /* {{{ */
reflection_object_handlers.write_property = _reflection_write_property;
INIT_CLASS_ENTRY(_reflection_entry, "ReflectionException", reflection_exception_functions);
- reflection_exception_ptr = zend_register_internal_class_ex(&_reflection_entry, zend_exception_get_default());
+ reflection_exception_ptr = zend_register_internal_class_ex(&_reflection_entry, zend_exception_ce);
INIT_CLASS_ENTRY(_reflection_entry, "Reflection", reflection_functions);
reflection_ptr = zend_register_internal_class(&_reflection_entry);