Skip to content

Commit c793a65

Browse files
committed
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: non living code related typo fixes Conflicts: Zend/zend_compile.c
2 parents 3626db6 + 8d86597 commit c793a65

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+50
-50
lines changed

Zend/tests/traits/bugs/overridding-conflicting-methods.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Overridding Conflicting Methods should not result in a notice/warning about collisions
2+
Overriding Conflicting Methods should not result in a notice/warning about collisions
33
--FILE--
44
<?php
55
error_reporting(E_ALL);

Zend/zend_builtin_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2381,7 +2381,7 @@ ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int
23812381
MAKE_STD_ZVAL(arg_array);
23822382
array_init(arg_array);
23832383

2384-
/* include_filename always points to the last filename of the last last called-fuction.
2384+
/* include_filename always points to the last filename of the last last called-function.
23852385
if we have called include in the frame above - this is the file we have included.
23862386
*/
23872387

Zend/zend_compile.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,7 @@ void zend_do_begin_function_declaration(znode *function_token, znode *function_n
17341734
}
17351735

17361736
{
1737-
/* Push a seperator to the switch stack */
1737+
/* Push a separator to the switch stack */
17381738
zend_switch_entry switch_entry;
17391739

17401740
switch_entry.cond.op_type = IS_UNUSED;
@@ -1828,7 +1828,7 @@ void zend_do_end_function_declaration(const znode *function_token TSRMLS_DC) /*
18281828
CG(active_op_array) = function_token->u.op_array;
18291829

18301830

1831-
/* Pop the switch and foreach seperators */
1831+
/* Pop the switch and foreach separators */
18321832
zend_stack_del_top(&CG(switch_cond_stack));
18331833
zend_stack_del_top(&CG(foreach_copy_stack));
18341834
}
@@ -2671,7 +2671,7 @@ static int generate_free_foreach_copy(const zend_op *foreach_copy TSRMLS_DC) /*
26712671
{
26722672
zend_op *opline;
26732673

2674-
/* If we reach the seperator then stop applying the stack */
2674+
/* If we reach the separator then stop applying the stack */
26752675
if (foreach_copy->result_type == IS_UNUSED && foreach_copy->op1_type == IS_UNUSED) {
26762676
return 1;
26772677
}

Zend/zend_execute_API.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1054,7 +1054,7 @@ ZEND_API int zend_lookup_class_ex(const char *name, int name_length, const zend_
10541054
}
10551055

10561056
/* The compiler is not-reentrant. Make sure we __autoload() only during run-time
1057-
* (doesn't impact fuctionality of __autoload()
1057+
* (doesn't impact functionality of __autoload()
10581058
*/
10591059
if (!use_autoload || zend_is_compiling(TSRMLS_C)) {
10601060
if (!key) {

Zend/zend_globals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ struct _zend_php_scanner_globals {
302302
unsigned char *script_filtered;
303303
size_t script_filtered_size;
304304

305-
/* input/ouput filters */
305+
/* input/output filters */
306306
zend_encoding_filter input_filter;
307307
zend_encoding_filter output_filter;
308308
const zend_encoding *script_encoding;

Zend/zend_language_scanner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ typedef struct _zend_lex_state {
4545
unsigned char *script_filtered;
4646
size_t script_filtered_size;
4747

48-
/* input/ouput filters */
48+
/* input/output filters */
4949
zend_encoding_filter input_filter;
5050
zend_encoding_filter output_filter;
5151
const zend_encoding *script_encoding;

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ cat <<X
15821582
| see the file debug.log for error messages. |
15831583
| |
15841584
| If you are unable to fix this, send the file debug.log to the |
1585-
| [email protected] mailing list and include appropiate |
1585+
| [email protected] mailing list and include appropriate |
15861586
| information about your setup. |
15871587
X
15881588
fi

ext/date/php_date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1396,7 +1396,7 @@ PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb)
13961396
}
13971397
/* }}} */
13981398

1399-
/* {{{ php_parse_date: Backwards compability function */
1399+
/* {{{ php_parse_date: Backwards compatibility function */
14001400
PHPAPI signed long php_parse_date(char *string, signed long *now)
14011401
{
14021402
timelib_time *parsed_time;

ext/date/php_date.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ ZEND_END_MODULE_GLOBALS(date)
182182
#define DATEG(v) (date_globals.v)
183183
#endif
184184

185-
/* Backwards compability wrapper */
185+
/* Backwards compatibility wrapper */
186186
PHPAPI signed long php_parse_date(char *string, signed long *now);
187187
PHPAPI void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gmt);
188188
PHPAPI int php_idate(char format, time_t ts, int localtime TSRMLS_DC);

ext/dom/tests/bug44648.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Bug #44648 (Attribute names not checked for wellformedness)
2+
Bug #44648 (Attribute names not checked for well formedness)
33
--SKIPIF--
44
<?php require_once('skipif.inc'); ?>
55
--FILE--

0 commit comments

Comments
 (0)