Skip to content

Commit d2cdfdb

Browse files
authored
fixed some misspellings (#10503)
1 parent c02af98 commit d2cdfdb

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Zend/Optimizer/zend_inference.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2264,7 +2264,7 @@ static bool result_may_be_separated(zend_ssa *ssa, zend_ssa_op *ssa_op)
22642264
&& !ssa->vars[tmp_var].phi_use_chain) {
22652265
zend_ssa_op *use_op = &ssa->ops[ssa->vars[tmp_var].use_chain];
22662266

2267-
/* TODO: analize instructions between ssa_op and use_op */
2267+
/* TODO: analyze instructions between ssa_op and use_op */
22682268
if (use_op == ssa_op + 1) {
22692269
if ((use_op->op1_use == tmp_var && use_op->op1_use_chain < 0)
22702270
|| (use_op->op2_use == tmp_var && use_op->op2_use_chain < 0)) {

Zend/zend_inheritance.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3005,7 +3005,7 @@ ZEND_API zend_class_entry *zend_do_link_class(zend_class_entry *ce, zend_string
30053005
}
30063006

30073007
/* Normally Stringable is added during compilation. However, if it is imported from a trait,
3008-
* we need to explicilty add the interface here. */
3008+
* we need to explicitly add the interface here. */
30093009
if (ce->__tostring && !(ce->ce_flags & ZEND_ACC_TRAIT)
30103010
&& !zend_class_implements_interface(ce, zend_ce_stringable)) {
30113011
ZEND_ASSERT(ce->__tostring->common.fn_flags & ZEND_ACC_TRAIT_CLONE);

Zend/zend_object_handlers.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ ZEND_API void zend_std_unset_property(zend_object *zobj, zend_string *name, void
11931193
if (zobj->ce->__unset) {
11941194
uint32_t *guard = zend_get_property_guard(zobj, name);
11951195
if (!((*guard) & IN_UNSET)) {
1196-
/* have unseter - try with it! */
1196+
/* have unsetter - try with it! */
11971197
(*guard) |= IN_UNSET; /* prevent circular unsetting */
11981198
zend_std_call_unsetter(zobj, name);
11991199
(*guard) &= ~IN_UNSET;

ext/exif/exif.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3298,7 +3298,7 @@ static bool exif_process_IFD_TAG_impl(image_info_type *ImageInfo, char *dir_entr
32983298
* it is faster to use a static buffer there
32993299
* BUT it offers also the possibility to have
33003300
* pointers read without the need to free them
3301-
* explicitley before returning. */
3301+
* explicitly before returning. */
33023302
memset(&cbuf, 0, sizeof(cbuf));
33033303
value_ptr = cbuf;
33043304
}
@@ -3477,7 +3477,7 @@ static bool exif_process_IFD_TAG_impl(image_info_type *ImageInfo, char *dir_entr
34773477
switch (exif_convert_any_to_int(value_ptr, format, ImageInfo->motorola_intel)) {
34783478
case 1: ImageInfo->FocalplaneUnits = 25.4; break; /* inch */
34793479
case 2:
3480-
/* According to the information I was using, 2 measn meters.
3480+
/* According to the information I was using, 2 means meters.
34813481
But looking at the Cannon powershot's files, inches is the only
34823482
sensible value. */
34833483
ImageInfo->FocalplaneUnits = 25.4;

ext/ffi/ffi.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -6592,7 +6592,7 @@ void zend_ffi_declare(const char *name, size_t name_len, zend_ffi_dcl *dcl) /* {
65926592
dcl->type = type; /* reset "owned" flag */
65936593
zend_hash_str_add_new_ptr(FFI_G(symbols), name, name_len, sym);
65946594
} else {
6595-
/* useless declarartion */
6595+
/* useless declaration */
65966596
zend_ffi_type_dtor(dcl->type);
65976597
}
65986598
}

0 commit comments

Comments
 (0)