summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLior Kaplan <kaplanlior@gmail.com>2014-08-17 21:33:41 +0300
committerLior Kaplan <kaplanlior@gmail.com>2014-08-17 21:33:41 +0300
commitfac08a960be6124829177f6c33c2b10aa3fd81b9 (patch)
treec4633350d8e38e3e6b54c3b1d09af04058b253b9
parentbe2128c8050fd8d22604acb0e225891551c81c8c (diff)
parent1504f7d630c01fcfe9cd23b9e8aff7195a3864f7 (diff)
downloadphp-git-fac08a960be6124829177f6c33c2b10aa3fd81b9.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: 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 0623dbdcde..a9621eeb4c 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 3e7106ed25..44611e6158 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);