summaryrefslogtreecommitdiff
path: root/Zend/zend_reflection_api.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-08-30 23:51:42 +0000
committerMarcus Boerger <helly@php.net>2003-08-30 23:51:42 +0000
commitf1c92fa4c522f1ebde315437641bcddd9efadc9c (patch)
tree9b766b5679031b0dcae110a02e41f799edf6a2db /Zend/zend_reflection_api.c
parentc803e4643d65faabf2f37248e855d0f0c713991e (diff)
downloadphp-git-f1c92fa4c522f1ebde315437641bcddd9efadc9c.tar.gz
- Calling abstract methods should be a error for consistency reason.
- So in reflection_api we use the reflection_exception again.
Diffstat (limited to 'Zend/zend_reflection_api.c')
-rw-r--r--Zend/zend_reflection_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c
index de0ee0e0f7..4df1f9d438 100644
--- a/Zend/zend_reflection_api.c
+++ b/Zend/zend_reflection_api.c
@@ -973,7 +973,7 @@ ZEND_METHOD(reflection_method, invoke)
if (!(mptr->common.fn_flags & ZEND_ACC_PUBLIC) ||
(mptr->common.fn_flags & ZEND_ACC_ABSTRACT)) {
if (mptr->common.fn_flags & ZEND_ACC_ABSTRACT) {
- zend_throw_exception_ex(zend_exception_get_abstract(), 0 TSRMLS_CC,
+ zend_throw_exception_ex(reflection_exception_ptr, 0 TSRMLS_CC,
"Trying to invoke abstract method %s::%s",
mptr->common.scope->name, mptr->common.function_name);
} else {