Lines Matching refs:mptr
301 zend_function *mptr; in zend_create_closure_from_callable() local
309 mptr = fcc.function_handler; in zend_create_closure_from_callable()
310 if (mptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_create_closure_from_callable()
313 && zend_string_equals_literal(mptr->common.function_name, "__invoke")) { in zend_create_closure_from_callable()
315 zend_free_trampoline(mptr); in zend_create_closure_from_callable()
319 if (!mptr->common.scope) { in zend_create_closure_from_callable()
322 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in zend_create_closure_from_callable()
323 if (!mptr->common.scope->__callstatic) { in zend_create_closure_from_callable()
327 if (!mptr->common.scope->__call) { in zend_create_closure_from_callable()
334 call.fn_flags = mptr->common.fn_flags & ZEND_ACC_STATIC; in zend_create_closure_from_callable()
336 call.function_name = mptr->common.function_name; in zend_create_closure_from_callable()
337 call.scope = mptr->common.scope; in zend_create_closure_from_callable()
339 zend_free_trampoline(mptr); in zend_create_closure_from_callable()
340 mptr = (zend_function *) &call; in zend_create_closure_from_callable()
345 zend_create_fake_closure(return_value, mptr, mptr->common.scope, fcc.called_scope, &instance); in zend_create_closure_from_callable()
347 zend_create_fake_closure(return_value, mptr, mptr->common.scope, fcc.called_scope, NULL); in zend_create_closure_from_callable()