diff options
author | Xinchen Hui <laruence@php.net> | 2012-03-02 03:36:30 +0000 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2012-03-02 03:36:30 +0000 |
commit | e83f0261c07834918fcaf6b941bcbddbd0905f4b (patch) | |
tree | 49547141d785b4fa5f0479fcf2f490639c22f660 /ext/reflection/php_reflection.c | |
parent | 046e3e38895559ae7e405afeb15ccc0a5336db5f (diff) | |
download | php-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.c | 2 |
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); |