From 110b670d447feaf8a5c9498d3c5db393a3c4bc76 Mon Sep 17 00:00:00 2001 From: Andi Gutmans Date: Wed, 1 Mar 2000 17:10:45 +0000 Subject: [PATCH] - Fix typos --- Zend/ZEND_CHANGES | 2 +- Zend/zend_compile.c | 2 +- Zend/zend_execute.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Zend/ZEND_CHANGES b/Zend/ZEND_CHANGES index 0c144e2d5c5..c7a7dd7b1d9 100644 --- a/Zend/ZEND_CHANGES +++ b/Zend/ZEND_CHANGES @@ -84,7 +84,7 @@ shamelessly lying about it. Here's why: * static variable initializers only accept scalar values (in PHP 3.0 they accepted any valid expression). The impact - should be somewhere in between void and non existant, since + should be somewhere in between void and non existent, since initializing a static variable with anything but a simple static value makes no sense at all. diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 79f06cb3725..30c2113afbe 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -681,7 +681,7 @@ void do_free(znode *op1 CLS_DC) opline->result.u.EA.type |= EXT_TYPE_UNUSED; } else { while (opline>CG(active_op_array)->opcodes) { - /* This should be an object instanciation + /* This should be an object instantiation * Find JMP_NO_CTOR, mark the preceding ASSIGN and the * proceeding INIT_FCALL_BY_NAME as unused */ diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c index b095af54b43..a5f5fb93cb0 100644 --- a/Zend/zend_execute.c +++ b/Zend/zend_execute.c @@ -1928,7 +1928,7 @@ send_by_ref: zend_str_tolower(class_name.value.str.val, class_name.value.str.len); if (zend_hash_find(EG(class_table), class_name.value.str.val, class_name.value.str.len+1, (void **) &ce)==FAILURE) { - zend_error(E_ERROR, "Cannot instantiate non-existant class: %s", class_name.value.str.val); + zend_error(E_ERROR, "Cannot instantiate non-existent class: %s", class_name.value.str.val); } object_init_ex(&Ts[opline->result.u.var].tmp_var, ce); Ts[opline->result.u.var].tmp_var.refcount=1;