From 0d1957e7dc66bfa8c46fa69b6fdb899309daf061 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Tue, 25 Jul 2006 06:50:26 +0000 Subject: [PATCH] - MFB: Fixed typo --- Zend/zend_API.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 521d6ecbf17..f2f4c5ee74d 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -2212,7 +2212,7 @@ ZEND_API void zend_check_magic_method_implementation(zend_class_entry *ce, zend_ if (lcname_len == sizeof(ZEND_DESTRUCTOR_FUNC_NAME) - 1 && ZEND_U_EQUAL(utype, lcname, lcname_len, ZEND_DESTRUCTOR_FUNC_NAME, sizeof(ZEND_DESTRUCTOR_FUNC_NAME)-1) && fptr->common.num_args != 0) { - zend_error(error_type, "Destuctor %v::%s() cannot take arguments", ce->name, ZEND_DESTRUCTOR_FUNC_NAME); + zend_error(error_type, "Destructor %v::%s() cannot take arguments", ce->name, ZEND_DESTRUCTOR_FUNC_NAME); } else if (lcname_len == sizeof(ZEND_CLONE_FUNC_NAME) - 1 && ZEND_U_EQUAL(utype, lcname, lcname_len, ZEND_CLONE_FUNC_NAME, sizeof(ZEND_CLONE_FUNC_NAME)-1) && fptr->common.num_args != 0) { zend_error(error_type, "Method %v::%s() cannot accept any arguments", ce->name, ZEND_CLONE_FUNC_NAME);