mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-26 18:35:42 +00:00
Fixed getClosureThis()
This commit is contained in:
1 parent
81271854e8
commit
4eeee08ec8
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user