cvs: ZendEngine2(PHP_5_2) / zend_API.c

From: Date: Tue, 25 Jul 2006 06:49:38 +0000
Subject: cvs: ZendEngine2(PHP_5_2) / zend_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5128@lists.php.net to get a copy of this message
derick Tue Jul 25 06:49:38 2006 UTC Modified files: (Branch: PHP_5_2) /ZendEngine2 zend_API.c Log: - Fixed typo. http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_API.c?r1=1.296.2.27.2.21&r2=1.296.2.27.2.22&diff_format=u Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.296.2.27.2.21 ZendEngine2/zend_API.c:1.296.2.27.2.22 --- ZendEngine2/zend_API.c:1.296.2.27.2.21 Sat Jul 22 15:41:42 2006 +++ ZendEngine2/zend_API.c Tue Jul 25 06:49:38 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.c,v 1.296.2.27.2.21 2006/07/22 15:41:42 sniper Exp $ */ +/* $Id: zend_API.c,v 1.296.2.27.2.22 2006/07/25 06:49:38 derick Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -1588,7 +1588,7 @@ lcname[sizeof(lcname)-1] = '\0'; /* zend_str_tolower_copy won't necessarily set the zero byte */ if (name_len == sizeof(ZEND_DESTRUCTOR_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_DESTRUCTOR_FUNC_NAME, sizeof(ZEND_DESTRUCTOR_FUNC_NAME)) && fptr->common.num_args != 0) { - zend_error(error_type, "Destuctor %s::%s() cannot take arguments", ce->name, ZEND_DESTRUCTOR_FUNC_NAME); + zend_error(error_type, "Destructor %s::%s() cannot take arguments", ce->name, ZEND_DESTRUCTOR_FUNC_NAME); } else if (name_len == sizeof(ZEND_CLONE_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_CLONE_FUNC_NAME, sizeof(ZEND_CLONE_FUNC_NAME)) && fptr->common.num_args != 0) { zend_error(error_type, "Method %s::%s() cannot accept any arguments", ce->name, ZEND_CLONE_FUNC_NAME); } else if (name_len == sizeof(ZEND_GET_FUNC_NAME) - 1 && !memcmp(lcname, ZEND_GET_FUNC_NAME, sizeof(ZEND_GET_FUNC_NAME)) && fptr->common.num_args != 1) {

« previous php.zend-engine.cvs (#5128) next »