Lines Matching refs:this_ptr
38 zval this_ptr; member
386 return &closure->this_ptr; in zend_get_closure_this_ptr()
449 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_free_storage()
450 zval_ptr_dtor(&closure->this_ptr); in zend_closure_free_storage()
475 closure->func.common.scope, closure->called_scope, &closure->this_ptr); in zend_closure_clone()
486 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_closure()
487 *obj_ptr = Z_OBJ(closure->this_ptr); in zend_closure_get_closure()
521 if (Z_TYPE(closure->this_ptr) != IS_UNDEF) { in zend_closure_get_debug_info()
522 Z_ADDREF(closure->this_ptr); in zend_closure_get_debug_info()
523 zend_hash_update(debug_info, ZSTR_KNOWN(ZEND_STR_THIS), &closure->this_ptr); in zend_closure_get_debug_info()
571 *table = Z_TYPE(closure->this_ptr) != IS_NULL ? &closure->this_ptr : NULL; in zend_closure_get_gc()
572 *n = Z_TYPE(closure->this_ptr) != IS_NULL ? 1 : 0; in zend_closure_get_gc()
652 …_function *func, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr) /* {{{ */ in zend_create_closure() argument
660 if ((scope == NULL) && this_ptr && (Z_TYPE_P(this_ptr) != IS_UNDEF)) { in zend_create_closure()
713 this_ptr = NULL; in zend_create_closure()
718 ZVAL_UNDEF(&closure->this_ptr); in zend_create_closure()
725 …if (this_ptr && Z_TYPE_P(this_ptr) == IS_OBJECT && (closure->func.common.fn_flags & ZEND_ACC_STATI… in zend_create_closure()
726 ZVAL_COPY(&closure->this_ptr, this_ptr); in zend_create_closure()
732 …_function *func, zend_class_entry *scope, zend_class_entry *called_scope, zval *this_ptr) /* {{{ */ in zend_create_fake_closure() argument
736 zend_create_closure(res, func, scope, called_scope, this_ptr); in zend_create_fake_closure()