summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-03-01 17:10:45 +0000
committerAndi Gutmans <andi@php.net>2000-03-01 17:10:45 +0000
commit110b670d447feaf8a5c9498d3c5db393a3c4bc76 (patch)
tree7c901f3d09a50ef4877d4789c0abfa617d723855 /Zend
parente38c4ae3adb3b0017499f13b8d3f395f1e883f6c (diff)
downloadphp-git-110b670d447feaf8a5c9498d3c5db393a3c4bc76.tar.gz
- Fix typos
Diffstat (limited to 'Zend')
-rw-r--r--Zend/ZEND_CHANGES2
-rw-r--r--Zend/zend_compile.c2
-rw-r--r--Zend/zend_execute.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/Zend/ZEND_CHANGES b/Zend/ZEND_CHANGES
index 0c144e2d5c..c7a7dd7b1d 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 79f06cb372..30c2113afb 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 b095af54b4..a5f5fb93cb 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;