Fixed bug #60968 (Late static binding doesn't work with ReflectionMethod::invokeArgs())

This commit is contained in:
Xinchen Hui 2012-02-03 16:27:35 +00:00
parent 024e1307c6
commit d2ca448f07
3 changed files with 8 additions and 2 deletions

View file

@ -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);