summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2012-03-02 03:36:30 +0000
committerXinchen Hui <laruence@php.net>2012-03-02 03:36:30 +0000
commite83f0261c07834918fcaf6b941bcbddbd0905f4b (patch)
tree49547141d785b4fa5f0479fcf2f490639c22f660 /ext/reflection/php_reflection.c
parent046e3e38895559ae7e405afeb15ccc0a5336db5f (diff)
downloadphp-git-e83f0261c07834918fcaf6b941bcbddbd0905f4b.tar.gz
MFH: Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())
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 663eb405de..b5ea8386c5 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -2920,7 +2920,7 @@ ZEND_METHOD(reflection_method, invokeArgs)
fcc.initialized = 1;
fcc.function_handler = mptr;
fcc.calling_scope = obj_ce;
- fcc.called_scope = obj_ce;
+ fcc.called_scope = intern->ce;
fcc.object_ptr = object;
result = zend_call_function(&fci, &fcc TSRMLS_CC);