summaryrefslogtreecommitdiff
path: root/Zend/zend_API.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-01-06 20:55:14 +0000
committerAntony Dovgal <tony2001@php.net>2006-01-06 20:55:14 +0000
commit4972b45520bf84b5fc68cd7f36c207024d8b6c88 (patch)
tree381be1252d115ec0095ea81f9b6a32ac3c037e72 /Zend/zend_API.c
parentde8d0920d4f9f36ac1545fd6c031c51102a39e5d (diff)
downloadphp-git-4972b45520bf84b5fc68cd7f36c207024d8b6c88.tar.gz
fix typo in the code and related tests
Diffstat (limited to 'Zend/zend_API.c')
-rw-r--r--Zend/zend_API.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_API.c b/Zend/zend_API.c
index 9d2f192648..4ae44d79cf 100644
--- a/Zend/zend_API.c
+++ b/Zend/zend_API.c
@@ -2135,7 +2135,7 @@ ZEND_API zend_bool zend_is_callable_ex(zval *callable, uint check_flags, char **
if (EG(This)) {
if (instanceof_function(Z_OBJCE_P(EG(This)), ce TSRMLS_CC)) {
*zobj_ptr_ptr = &EG(This);
- zend_error(E_STRICT, "Non-static method %s::%s() canot be called statically, assuming $this from compatible context %s", ce->name, Z_STRVAL_PP(method), Z_OBJCE_P(EG(This))->name);
+ zend_error(E_STRICT, "Non-static method %s::%s() cannot be called statically, assuming $this from compatible context %s", ce->name, Z_STRVAL_PP(method), Z_OBJCE_P(EG(This))->name);
}
}
} else {