Lines Matching refs:ctor
2166 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local
2339 …if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, cla… in zend_register_functions()
2340 ctor = reg_function; in zend_register_functions()
2344 ctor = reg_function; in zend_register_functions()
2401 scope->constructor = ctor; in zend_register_functions()
2412 if (ctor) { in zend_register_functions()
2413 ctor->common.fn_flags |= ZEND_ACC_CTOR; in zend_register_functions()
2414 if (ctor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2415 … "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(ctor->common.function_na… in zend_register_functions()
2417 ctor->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
2480 …if (ctor && ctor->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE && ctor->common.fn_flags & ZEND_ACC_C… in zend_register_functions()
2481 …r %s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(ctor->common.function_na… in zend_register_functions()