From 1504f7d630c01fcfe9cd23b9e8aff7195a3864f7 Mon Sep 17 00:00:00 2001 From: Lior Kaplan Date: Sun, 17 Aug 2014 21:32:53 +0300 Subject: [PATCH] Correct typo in comments: 'initialized' --- ext/dom/php_dom.c | 2 +- ext/mbstring/mb_gpc.c | 2 +- ext/spl/php_spl.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c index dda638abd0e..3e619e1f0e3 100644 --- a/ext/dom/php_dom.c +++ b/ext/dom/php_dom.c @@ -518,7 +518,7 @@ static HashTable* dom_get_debug_info_helper(zval *object, int *is_temp TSRMLS_DC value = null_value; } else if (Z_TYPE_P(value) == IS_OBJECT) { /* these are zvalues create on demand, with refcount and is_ref - * status left in an uninitalized stated */ + * status left in an uninitialized stated */ zval_dtor(value); efree(value); diff --git a/ext/mbstring/mb_gpc.c b/ext/mbstring/mb_gpc.c index 8924b065c83..aec5adf5534 100644 --- a/ext/mbstring/mb_gpc.c +++ b/ext/mbstring/mb_gpc.c @@ -260,7 +260,7 @@ const mbfl_encoding *_php_mb_encoding_handler_ex(const php_mb_encoding_handler_i goto out; } - num = n; /* make sure to process initilized vars only */ + num = n; /* make sure to process initialized vars only */ /* initialize converter */ if (info->num_from_encodings <= 0) { diff --git a/ext/spl/php_spl.c b/ext/spl/php_spl.c index 473ab00963f..515b5ccfe62 100644 --- a/ext/spl/php_spl.c +++ b/ext/spl/php_spl.c @@ -326,7 +326,7 @@ PHP_FUNCTION(spl_autoload) RETURN_FALSE; } - if (file_exts == NULL) { /* autoload_extensions is not initialzed, set to defaults */ + if (file_exts == NULL) { /* autoload_extensions is not initialized, set to defaults */ copy = pos1 = estrndup(SPL_DEFAULT_FILE_EXTENSIONS, sizeof(SPL_DEFAULT_FILE_EXTENSIONS)-1); } else { copy = pos1 = estrndup(file_exts, file_exts_len);