Lines Matching refs:ctor
2129 …zend_function *ctor = NULL, *dtor = NULL, *clone = NULL, *__get = NULL, *__set = NULL, *__unset = … in zend_register_functions() local
2270 …if ((fname_len == class_name_len) && !ctor && !memcmp(ZSTR_VAL(lowercase_name), lc_class_name, cla… in zend_register_functions()
2271 ctor = reg_function; in zend_register_functions()
2273 ctor = reg_function; in zend_register_functions()
2330 scope->constructor = ctor; in zend_register_functions()
2341 if (ctor) { in zend_register_functions()
2342 ctor->common.fn_flags |= ZEND_ACC_CTOR; in zend_register_functions()
2343 if (ctor->common.fn_flags & ZEND_ACC_STATIC) { in zend_register_functions()
2344 … "Constructor %s::%s() cannot be static", ZSTR_VAL(scope->name), ZSTR_VAL(ctor->common.function_na… in zend_register_functions()
2346 ctor->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; in zend_register_functions()
2410 …if (ctor && ctor->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE && ctor->common.fn_flags & ZEND_ACC_C… in zend_register_functions()
2411 …r %s::%s() cannot declare a return type", ZSTR_VAL(scope->name), ZSTR_VAL(ctor->common.function_na… in zend_register_functions()