diff options
author | Derick Rethans <derick@php.net> | 2006-07-25 06:49:38 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2006-07-25 06:49:38 +0000 |
commit | c3e5ee1840416bcfeda23a5c81d35fc7d1a57415 (patch) | |
tree | beb07b67680316c37ee541546a5d500d3f1a7cec /Zend/zend_API.c | |
parent | 195417eb4d7ec7250c0c59baa7a9a7e7d484256c (diff) | |
download | php-git-c3e5ee1840416bcfeda23a5c81d35fc7d1a57415.tar.gz |
- Fixed typo.
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r-- | Zend/zend_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 7a4b78bb20..e90807fc6d 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -1588,7 +1588,7 @@ ZEND_API void zend_check_magic_method_implementation(zend_class_entry *ce, zend_ 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) { |