mirror of
https://github.com/php/php-src.git
synced 2024-09-21 09:57:23 +00:00
- Fix typos
This commit is contained in:
parent
e38c4ae3ad
commit
110b670d44
@ -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.
|
||||
|
||||
|
@ -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
|
||||
*/
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user