summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2007-08-22 06:17:12 +0000
committerDmitry Stogov <dmitry@php.net>2007-08-22 06:17:12 +0000
commit4fb5eadb779310c73da4cc1cb450c14ad088b64d (patch)
treef64ca90988f2239c17c9780080b5176f39a86405
parent3e1bfca85245bfed5a3606ccd54b1fcc322605a2 (diff)
downloadphp-git-4fb5eadb779310c73da4cc1cb450c14ad088b64d.tar.gz
typo
-rw-r--r--Zend/zend_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 08ea575851..e5b390a89f 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -3192,7 +3192,7 @@ void zend_do_begin_class_declaration(znode *class_token, znode *class_name, znod
/* Class name must not conflict with import names */
if (CG(current_import) &&
zend_u_hash_exists(CG(current_import), Z_TYPE(class_name->u.constant), lcname, lcname_len+1)) {
- zend_error(E_COMPILE_ERROR, "Class name '%R' coflicts with import name", Z_TYPE(class_name->u.constant), Z_UNIVAL(class_name->u.constant));
+ zend_error(E_COMPILE_ERROR, "Class name '%R' conflicts with import name", Z_TYPE(class_name->u.constant), Z_UNIVAL(class_name->u.constant));
}
if (CG(current_namespace)) {
@@ -5042,7 +5042,7 @@ void zend_do_import(znode *ns_name, znode *new_name TSRMLS_DC) /* {{{ */
}
if (zend_u_hash_exists(CG(class_table), Z_TYPE_P(name), lcname, lcname_len+1)) {
- zend_error(E_COMPILE_ERROR, "Import name '%R' coflicts with defined class", Z_TYPE_P(name), Z_UNIVAL_P(name));
+ zend_error(E_COMPILE_ERROR, "Import name '%R' conflicts with defined class", Z_TYPE_P(name), Z_UNIVAL_P(name));
}
if (zend_u_hash_add(CG(current_import), Z_TYPE_P(name), lcname, lcname_len+1, &ns, sizeof(zval*), NULL) != SUCCESS) {