Skip to content

Commit 8d86597

Browse files
vlajossmalyshev
authored andcommitted
non living code related typo fixes
1 parent 5f137d0 commit 8d86597

48 files changed

Lines changed: 50 additions & 50 deletions

Some content is hidden

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

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
@@ -2396,7 +2396,7 @@ ZEND_API void zend_fetch_debug_backtrace(zval *return_value, int skip_last, int
23962396
MAKE_STD_ZVAL(arg_array);
23972397
array_init(arg_array);
23982398

2399-
/* include_filename always points to the last filename of the last last called-fuction.
2399+
/* include_filename always points to the last filename of the last last called-function.
24002400
if we have called include in the frame above - this is the file we have included.
24012401
*/
24022402

Zend/zend_compile.c

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

17251725
{
1726-
/* Push a seperator to the switch and foreach stacks */
1726+
/* Push a separator to the switch and foreach stacks */
17271727
zend_switch_entry switch_entry;
17281728

17291729
switch_entry.cond.op_type = IS_UNUSED;
@@ -1817,7 +1817,7 @@ void zend_do_end_function_declaration(const znode *function_token TSRMLS_DC) /*
18171817
CG(active_op_array) = function_token->u.op_array;
18181818

18191819

1820-
/* Pop the switch and foreach seperators */
1820+
/* Pop the switch and foreach separators */
18211821
zend_stack_del_top(&CG(switch_cond_stack));
18221822
zend_stack_del_top(&CG(foreach_copy_stack));
18231823
}
@@ -2584,7 +2584,7 @@ static int generate_free_foreach_copy(const zend_op *foreach_copy TSRMLS_DC) /*
25842584
{
25852585
zend_op *opline;
25862586

2587-
/* If we reach the seperator then stop applying the stack */
2587+
/* If we reach the separator then stop applying the stack */
25882588
if (foreach_copy->result_type == IS_UNUSED && foreach_copy->op1_type == IS_UNUSED) {
25892589
return 1;
25902590
}

Zend/zend_execute_API.c

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

10741074
/* The compiler is not-reentrant. Make sure we __autoload() only during run-time
1075-
* (doesn't impact fuctionality of __autoload()
1075+
* (doesn't impact functionality of __autoload()
10761076
*/
10771077
if (!use_autoload || zend_is_compiling(TSRMLS_C)) {
10781078
if (!key) {

Zend/zend_globals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ struct _zend_php_scanner_globals {
306306
unsigned char *script_filtered;
307307
size_t script_filtered_size;
308308

309-
/* input/ouput filters */
309+
/* input/output filters */
310310
zend_encoding_filter input_filter;
311311
zend_encoding_filter output_filter;
312312
const zend_encoding *script_encoding;

Zend/zend_language_scanner.h

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

47-
/* input/ouput filters */
47+
/* input/output filters */
4848
zend_encoding_filter input_filter;
4949
zend_encoding_filter output_filter;
5050
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-
| php-install@lists.php.net mailing list and include appropiate |
1585+
| php-install@lists.php.net 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
@@ -1352,7 +1352,7 @@ PHPAPI void php_date_set_tzdb(timelib_tzdb *tzdb)
13521352
}
13531353
/* }}} */
13541354

1355-
/* {{{ php_parse_date: Backwards compability function */
1355+
/* {{{ php_parse_date: Backwards compatibility function */
13561356
PHPAPI signed long php_parse_date(char *string, signed long *now)
13571357
{
13581358
timelib_time *parsed_time;

ext/date/php_date.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ ZEND_END_MODULE_GLOBALS(date)
165165
#define DATEG(v) (date_globals.v)
166166
#endif
167167

168-
/* Backwards compability wrapper */
168+
/* Backwards compatibility wrapper */
169169
PHPAPI signed long php_parse_date(char *string, signed long *now);
170170
PHPAPI void php_mktime(INTERNAL_FUNCTION_PARAMETERS, int gmt);
171171
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)