mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
fixed some misspellings (#10503)
This commit is contained in:
@@ -2264,7 +2264,7 @@ static bool result_may_be_separated(zend_ssa *ssa, zend_ssa_op *ssa_op)
|
||||
&& !ssa->vars[tmp_var].phi_use_chain) {
|
||||
zend_ssa_op *use_op = &ssa->ops[ssa->vars[tmp_var].use_chain];
|
||||
|
||||
/* TODO: analize instructions between ssa_op and use_op */
|
||||
/* TODO: analyze instructions between ssa_op and use_op */
|
||||
if (use_op == ssa_op + 1) {
|
||||
if ((use_op->op1_use == tmp_var && use_op->op1_use_chain < 0)
|
||||
|| (use_op->op2_use == tmp_var && use_op->op2_use_chain < 0)) {
|
||||
|
||||
@@ -3005,7 +3005,7 @@ ZEND_API zend_class_entry *zend_do_link_class(zend_class_entry *ce, zend_string
|
||||
}
|
||||
|
||||
/* Normally Stringable is added during compilation. However, if it is imported from a trait,
|
||||
* we need to explicilty add the interface here. */
|
||||
* we need to explicitly add the interface here. */
|
||||
if (ce->__tostring && !(ce->ce_flags & ZEND_ACC_TRAIT)
|
||||
&& !zend_class_implements_interface(ce, zend_ce_stringable)) {
|
||||
ZEND_ASSERT(ce->__tostring->common.fn_flags & ZEND_ACC_TRAIT_CLONE);
|
||||
|
||||
@@ -1193,7 +1193,7 @@ ZEND_API void zend_std_unset_property(zend_object *zobj, zend_string *name, void
|
||||
if (zobj->ce->__unset) {
|
||||
uint32_t *guard = zend_get_property_guard(zobj, name);
|
||||
if (!((*guard) & IN_UNSET)) {
|
||||
/* have unseter - try with it! */
|
||||
/* have unsetter - try with it! */
|
||||
(*guard) |= IN_UNSET; /* prevent circular unsetting */
|
||||
zend_std_call_unsetter(zobj, name);
|
||||
(*guard) &= ~IN_UNSET;
|
||||
|
||||
@@ -3298,7 +3298,7 @@ static bool exif_process_IFD_TAG_impl(image_info_type *ImageInfo, char *dir_entr
|
||||
* it is faster to use a static buffer there
|
||||
* BUT it offers also the possibility to have
|
||||
* pointers read without the need to free them
|
||||
* explicitley before returning. */
|
||||
* explicitly before returning. */
|
||||
memset(&cbuf, 0, sizeof(cbuf));
|
||||
value_ptr = cbuf;
|
||||
}
|
||||
@@ -3477,7 +3477,7 @@ static bool exif_process_IFD_TAG_impl(image_info_type *ImageInfo, char *dir_entr
|
||||
switch (exif_convert_any_to_int(value_ptr, format, ImageInfo->motorola_intel)) {
|
||||
case 1: ImageInfo->FocalplaneUnits = 25.4; break; /* inch */
|
||||
case 2:
|
||||
/* According to the information I was using, 2 measn meters.
|
||||
/* According to the information I was using, 2 means meters.
|
||||
But looking at the Cannon powershot's files, inches is the only
|
||||
sensible value. */
|
||||
ImageInfo->FocalplaneUnits = 25.4;
|
||||
|
||||
@@ -6592,7 +6592,7 @@ void zend_ffi_declare(const char *name, size_t name_len, zend_ffi_dcl *dcl) /* {
|
||||
dcl->type = type; /* reset "owned" flag */
|
||||
zend_hash_str_add_new_ptr(FFI_G(symbols), name, name_len, sym);
|
||||
} else {
|
||||
/* useless declarartion */
|
||||
/* useless declaration */
|
||||
zend_ffi_type_dtor(dcl->type);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user