]> granicus.if.org Git - php/commitdiff
- Fix typos
authorAndi Gutmans <andi@php.net>
Wed, 1 Mar 2000 17:10:45 +0000 (17:10 +0000)
committerAndi Gutmans <andi@php.net>
Wed, 1 Mar 2000 17:10:45 +0000 (17:10 +0000)
Zend/ZEND_CHANGES
Zend/zend_compile.c
Zend/zend_execute.c

index 0c144e2d5c520aff4ca98675672b9c25de361f78..c7a7dd7b1d994282c529deaabef1972c4a8c0ac4 100644 (file)
@@ -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.
 
index 79f06cb3725bb92861f96ccd8d1c5e66404fa3e8..30c2113afbee9f2eab40ec139fbe0ad2b50f52d2 100644 (file)
@@ -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
                                 */
index b095af54b4361997d4a3aa7a86dec7dfc5d46e28..a5f5fb93cb0d3842cbe1a54274dfbd3b9b13d55a 100644 (file)
@@ -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;