summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLior Kaplan <kaplanlior@gmail.com>2014-08-17 21:32:53 +0300
committerLior Kaplan <kaplanlior@gmail.com>2014-08-17 21:32:53 +0300
commit1504f7d630c01fcfe9cd23b9e8aff7195a3864f7 (patch)
tree16a5826726dedc9ac3822d671c53b4b5d316274d
parent3f42f2f5d1c8026b6e1d21b91857a08d918c28c8 (diff)
downloadphp-git-1504f7d630c01fcfe9cd23b9e8aff7195a3864f7.tar.gz
Correct typo in comments: 'initialized'
-rw-r--r--ext/dom/php_dom.c2
-rw-r--r--ext/mbstring/mb_gpc.c2
-rw-r--r--ext/spl/php_spl.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c
index dda638abd0..3e619e1f0e 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 8924b065c8..aec5adf553 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 473ab00963..515b5ccfe6 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);