Fixed getClosureThis()

This commit is contained in:
Xinchen Hui committed 2014-03-02 21:40:20 +08:00
1 parent 81271854e8
commit 4eeee08ec8
1 file changed
+1 -1
+1 -1
View File
@@ -1691,7 +1691,7 @@ ZEND_METHOD(reflection_function, getClosureThis)
GET_REFLECTION_OBJECT_PTR(fptr);
if (!ZVAL_IS_UNDEF(&intern->obj)) {
closure_this = zend_get_closure_this_ptr(&intern->obj TSRMLS_CC);
if (closure_this) {
if (!ZVAL_IS_UNDEF(closure_this)) {
RETURN_ZVAL(closure_this, 1, 0);
}
}