summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2013-08-04 16:06:24 -0700
committerStanislav Malyshev <stas@php.net>2013-08-04 16:06:24 -0700
commitc793a6569013f9ab46f2cd7331cc1a04aa42cbed (patch)
treeba42379833bfa8176f468bfb23d24cd8ec3019e1 /Zend
parent3626db6142eda230586357a707b6cb4a0887e971 (diff)
parent8d86597d7368460383a33a4399ea7a8b244cd6fa (diff)
downloadphp-git-c793a6569013f9ab46f2cd7331cc1a04aa42cbed.tar.gz
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
Diffstat (limited to 'Zend')
-rw-r--r--Zend/tests/traits/bugs/overridding-conflicting-methods.phpt2
-rw-r--r--Zend/zend_builtin_functions.c2
-rw-r--r--Zend/zend_compile.c6
-rw-r--r--Zend/zend_execute_API.c2
-rw-r--r--Zend/zend_globals.h2
-rw-r--r--Zend/zend_language_scanner.h2
6 files changed, 8 insertions, 8 deletions
diff --git a/Zend/tests/traits/bugs/overridding-conflicting-methods.phpt b/Zend/tests/traits/bugs/overridding-conflicting-methods.phpt
index fc09a367bd..0bbea11005 100644
--- a/Zend/tests/traits/bugs/overridding-conflicting-methods.phpt
+++ b/Zend/tests/traits/bugs/overridding-conflicting-methods.phpt
@@ -1,5 +1,5 @@
--TEST--
-Overridding Conflicting Methods should not result in a notice/warning about collisions
+Overriding Conflicting Methods should not result in a notice/warning about collisions
--FILE--
<?php
error_reporting(E_ALL);
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 383f5333e5..44a480f2a1 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -2381,7 +2381,7 @@ ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int
MAKE_STD_ZVAL(arg_array);
array_init(arg_array);
- /* include_filename always points to the last filename of the last last called-fuction.
+ /* include_filename always points to the last filename of the last last called-function.
if we have called include in the frame above - this is the file we have included.
*/
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 196688e46e..f250b2be20 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -1734,7 +1734,7 @@ void zend_do_begin_function_declaration(znode *function_token, znode *function_n
}
{
- /* Push a seperator to the switch stack */
+ /* Push a separator to the switch stack */
zend_switch_entry switch_entry;
switch_entry.cond.op_type = IS_UNUSED;
@@ -1828,7 +1828,7 @@ void zend_do_end_function_declaration(const znode *function_token TSRMLS_DC) /*
CG(active_op_array) = function_token->u.op_array;
- /* Pop the switch and foreach seperators */
+ /* Pop the switch and foreach separators */
zend_stack_del_top(&CG(switch_cond_stack));
zend_stack_del_top(&CG(foreach_copy_stack));
}
@@ -2671,7 +2671,7 @@ static int generate_free_foreach_copy(const zend_op *foreach_copy TSRMLS_DC) /*
{
zend_op *opline;
- /* If we reach the seperator then stop applying the stack */
+ /* If we reach the separator then stop applying the stack */
if (foreach_copy->result_type == IS_UNUSED && foreach_copy->op1_type == IS_UNUSED) {
return 1;
}
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c
index d831b107a1..83c2217984 100644
--- a/Zend/zend_execute_API.c
+++ b/Zend/zend_execute_API.c
@@ -1054,7 +1054,7 @@ ZEND_API int zend_lookup_class_ex(const char *name, int name_length, const zend_
}
/* The compiler is not-reentrant. Make sure we __autoload() only during run-time
- * (doesn't impact fuctionality of __autoload()
+ * (doesn't impact functionality of __autoload()
*/
if (!use_autoload || zend_is_compiling(TSRMLS_C)) {
if (!key) {
diff --git a/Zend/zend_globals.h b/Zend/zend_globals.h
index 800bdc7f66..b9a5b39914 100644
--- a/Zend/zend_globals.h
+++ b/Zend/zend_globals.h
@@ -302,7 +302,7 @@ struct _zend_php_scanner_globals {
unsigned char *script_filtered;
size_t script_filtered_size;
- /* input/ouput filters */
+ /* input/output filters */
zend_encoding_filter input_filter;
zend_encoding_filter output_filter;
const zend_encoding *script_encoding;
diff --git a/Zend/zend_language_scanner.h b/Zend/zend_language_scanner.h
index 03ca911262..2e5914f1b2 100644
--- a/Zend/zend_language_scanner.h
+++ b/Zend/zend_language_scanner.h
@@ -45,7 +45,7 @@ typedef struct _zend_lex_state {
unsigned char *script_filtered;
size_t script_filtered_size;
- /* input/ouput filters */
+ /* input/output filters */
zend_encoding_filter input_filter;
zend_encoding_filter output_filter;
const zend_encoding *script_encoding;