Skip to content

Commit 99db00b

Browse files
committed
Fix #78880 Another round
1 parent 7426e3b commit 99db00b

25 files changed

+30
-30
lines changed

Zend/zend_inheritance.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ static inheritance_status zend_perform_covariant_type_check(
451451
}
452452
} ZEND_TYPE_LIST_FOREACH_END();
453453

454-
/* All individual checks suceeded, overall success */
454+
/* All individual checks succeeded, overall success */
455455
if (all_success) {
456456
return INHERITANCE_SUCCESS;
457457
}

ext/date/tests/DateTime_extends_basic3.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Test DateTime class inheritance : with user space fromat() method
2+
Test DateTime class inheritance : with user space format() method
33
--FILE--
44
<?php
55
//Set the default time zone

ext/date/tests/bug30096.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Bug #30096 (gmmktime does not return the corrent time)
2+
Bug #30096 (gmmktime does not return the correct time)
33
--INI--
44
error_reporting=2047
55
--FILE--

ext/date/tests/bug73858.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var_dump($d->days); // 30 ... and should be 30
4545

4646
/*
4747
[Workaround]
48-
This final test seems to prove that the input string is important and that the "- 1 secord" has a negative knock-on
48+
This final test seems to prove that the input string is important and that the "- 1 second" has a negative knock-on
4949
effect on the results of the diff. By modifying the datetime with ->modify everything works as expected ...
5050
it just means you have to be careful of how we work with DateTimes .
5151
*/

ext/date/tests/timezone_name_from_abbr_basic1.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Test timezone_name_from_abbr() function : basic functionality
33
--FILE--
44
<?php
55
/* Prototype : string timezone_name_from_abbr ( string $abbr [, int $gmtOffset= -1 [, int $isdst= -1 ]] )
6-
* Description: Returns the timezone name from abbrevation
6+
* Description: Returns the timezone name from abbreviation
77
* Source code: ext/date/php_date.c
88
* Alias to functions:
99
*/

ext/dba/dba.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,8 +1003,8 @@ PHP_FUNCTION(dba_fetch)
10031003
skip = 0;
10041004
}
10051005
} else if (!strcmp(info->hnd->name, "inifile")) {
1006-
/* "-1" is compareable to 0 but allows a non restrictive
1007-
* access which is fater. For example 'inifile' uses this
1006+
/* "-1" is comparable to 0 but allows a non restrictive
1007+
* access which is faster. For example 'inifile' uses this
10081008
* to allow faster access when the key was already found
10091009
* using firstkey/nextkey. However explicitly setting the
10101010
* value to 0 ensures the first value.

ext/dom/tests/DOMDocument_createAttribute_error.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Test DOMDocument::createAttribute() for expected expection thrown when wrong parameter passed
2+
Test DOMDocument::createAttribute() for expected exception thrown when wrong parameter passed
33
--SKIPIF--
44
<?php require_once('skipif.inc'); ?>
55
--FILE--

ext/enchant/enchant.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ PHP_FUNCTION(enchant_broker_init)
312312
/* }}} */
313313

314314
/* {{{ proto bool enchant_broker_free(resource broker)
315-
Destroys the broker object and its dictionnaries */
315+
Destroys the broker object and its dictionaries */
316316
PHP_FUNCTION(enchant_broker_free)
317317
{
318318
zval *broker;

ext/exif/exif.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ static char *exif_get_tagformat(int format)
335335
#define TAG_GPS_AREA_INFORMATION 0x001C
336336
#define TAG_GPS_DATE_STAMP 0x001D
337337
#define TAG_GPS_DIFFERENTIAL 0x001E
338-
#define TAG_TIFF_COMMENT 0x00FE /* SHOUDLNT HAPPEN */
338+
#define TAG_TIFF_COMMENT 0x00FE /* SHOULDN'T HAPPEN */
339339
#define TAG_NEW_SUBFILE 0x00FE /* New version of subfile tag */
340340
#define TAG_SUBFILE_TYPE 0x00FF /* Old version of subfile tag */
341341
#define TAG_IMAGEWIDTH 0x0100
@@ -3002,7 +3002,7 @@ static int exif_process_user_comment(image_info_type *ImageInfo, char **pszInfoP
30023002
szValuePtr = szValuePtr+8;
30033003
ByteCount -= 8;
30043004
} else if (!memcmp(szValuePtr, "JIS\0\0\0\0\0", 8)) {
3005-
/* JIS should be tanslated to MB or we leave it to the user - leave it to the user */
3005+
/* JIS should be translated to MB or we leave it to the user - leave it to the user */
30063006
*pszEncoding = estrdup((const char*)szValuePtr);
30073007
szValuePtr = szValuePtr+8;
30083008
ByteCount -= 8;

ext/gd/tests/imageantialias_error2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ if (!extension_loaded("gd")) die("skip GD not present");
1111
<?php
1212
/*
1313
14-
It seems the second argument passing is not being correclty checked.
14+
It seems the second argument passing is not being correctly checked.
1515
This test is failing due to this wrogn check
1616
1717
*/

ext/gd/tests/imagecolorset_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ imagecolorallocate($im, 255, 0, 0);
2020
// Get the color index for the background
2121
$bg = imagecolorat($im, 0, 0);
2222

23-
// Set the backgrund to be blue
23+
// Set the background to be blue
2424
imagecolorset($im, $bg, 0, 0, 255);
2525

2626
include_once __DIR__ . '/func.inc';

ext/hash/hash.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ PHP_FUNCTION(hash_final)
544544
hash->key[i] ^= 0x6A;
545545
}
546546

547-
/* Feed this result into the outter hash */
547+
/* Feed this result into the outer hash */
548548
hash->ops->hash_init(hash->context);
549549
hash->ops->hash_update(hash->context, hash->key, hash->ops->block_size);
550550
hash->ops->hash_update(hash->context, (unsigned char *) ZSTR_VAL(digest), hash->ops->digest_size);

ext/mbstring/tests/htmlent.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ filter.default=unsafe_raw
2424
// If you do not see &auml;... on output this means output encoding fails.
2525
// Using UTF-8 internally allows to encode/decode ALL characters.
2626
// &128... will stay as they are since their character codes are above 127
27-
// and they do not have a named entity representaion.
27+
// and they do not have a named entity representation.
2828
?>
2929
<?php echo mb_http_input('l').'>'.mb_internal_encoding().'>'.mb_http_output();?>
3030

ext/opcache/Optimizer/zend_ssa.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ static int find_adjusted_tmp_var(const zend_op_array *op_array, uint32_t build_f
223223

224224
/* e-SSA construction: Pi placement (Pi is actually a Phi with single
225225
* source and constraint).
226-
* Order of Phis is importent, Pis must be placed before Phis
226+
* Order of Phis is important, Pis must be placed before Phis
227227
*/
228228
static void place_essa_pis(
229229
zend_arena **arena, const zend_script *script, const zend_op_array *op_array,

ext/opcache/jit/zend_jit_x86.dasc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6870,7 +6870,7 @@ static int zend_jit_do_fcall(dasm_State **Dst, const zend_op *opline, const zend
68706870
/* Reuse reserved arguments stack */
68716871
res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_R4, 0x20);
68726872
#else
6873-
/* CPU stack alocated temporary zval */
6873+
/* CPU stack allocated temporary zval */
68746874
res_addr = ZEND_ADDR_MEM_ZVAL(ZREG_R4, 8);
68756875
#endif
68766876
}
@@ -7917,7 +7917,7 @@ static int zend_jit_free_compiled_variables(dasm_State **Dst, const zend_op *opl
79177917
}
79187918

79197919
#ifdef ZEND_JIT_USE_RC_INFERENCE
7920-
/* Refcount may be increased by RETRUN opcode */
7920+
/* Refcount may be increased by RETURN opcode */
79217921
if ((info & MAY_BE_RC1) && !(info & MAY_BE_RCN)) {
79227922
for (j = 0; j < ssa->cfg.blocks_count; j++) {
79237923
if ((ssa->cfg.blocks[j].flags & ZEND_BB_REACHABLE) &&
@@ -8847,7 +8847,7 @@ static uint32_t zend_get_known_property_offset(zend_class_entry *ce, zend_string
88478847

88488848
if (ce->ce_flags & ZEND_ACC_INHERITED) {
88498849
if (!ce->parent) {
8850-
/* property offets may be changed by inheritance */
8850+
/* property offsets may be changed by inheritance */
88518851
return ZEND_WRONG_PROPERTY_OFFSET;
88528852
} else {
88538853
zend_class_entry *parent = ce->parent;

ext/opcache/tests/wrong_inlining_004.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Inlining throgh call_user_func()
2+
Inlining through call_user_func()
33
--INI--
44
opcache.enable=1
55
opcache.enable_cli=1

ext/openssl/tests/openssl_error_string_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ expect_openssl_errors('openssl_csr_get_subject open', ['02001002', '2006D080']);
145145
@openssl_csr_get_subject($crt_file);
146146
expect_openssl_errors('openssl_csr_get_subjec pem', [$err_pem_no_start_line]);
147147

148-
// other possible cuases that are difficult to catch:
148+
// other possible causes that are difficult to catch:
149149
// - ASN1_STRING_to_UTF8 fails in add_assoc_name_entry
150150
// - invalid php_x509_request field (NULL) would cause error with CONF_get_string
151151

ext/pdo_mysql/tests/pdo_mysql_stmt_variable_columncount.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if ($version < 50000)
4949

5050
try {
5151

52-
// What will happen if a PS returns a differen number of result set column upon each execution?
52+
// What will happen if a PS returns a different number of result set column upon each execution?
5353
// Lets try with a SP accepting parameters...
5454
$db->exec('DROP PROCEDURE IF EXISTS p');
5555
$db->exec('CREATE PROCEDURE p(IN cols INT) BEGIN IF cols < 2 THEN SELECT cols AS "one"; ELSE SELECT 1 AS "one", cols AS "two"; END IF; END;');

ext/phar/tests/tar/bug67761.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
--TEST--
22
Bug #67761 (Phar::mapPhar fails for Phars inside a path containing ".tar")
33
--SKIPIF--
4-
<?php extension_loaded("phar") or die("SKIP need ext/phar suppport"); ?>
4+
<?php extension_loaded("phar") or die("SKIP need ext/phar support"); ?>
55
--FILE--
66
<?php
77

ext/posix/tests/posix_ttyname_error_wrongparams.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ PHP Testfest Berlin 2009-05-10
1212
if (!extension_loaded('posix')) {
1313
die('SKIP - POSIX extension not available');
1414
}
15-
15+
1616
if (!function_exists('curl_init')) {
1717
die('SKIP - Function curl_init() not available');
1818
}
1919
?>
2020
--FILE--
2121
<?php
22-
var_dump(posix_ttyname(0)); // param not a ressource
22+
var_dump(posix_ttyname(0)); // param not a resource
2323
try {
2424
var_dump(posix_ttyname(curl_init())); // wrong resource type
2525
} catch (TypeError $e) {

ext/snmp/snmp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ static void php_snmp_getvalue(struct variable_list *vars, zval *snmpval, int val
308308
int buflen = sizeof(sbuf) - 1;
309309
int val_len = vars->val_len;
310310

311-
/* use emalloc() for large values, use static array otherwize */
311+
/* use emalloc() for large values, use static array otherwise */
312312

313313
/* There is no way to know the size of buffer snprint_value() needs in order to print a value there.
314314
* So we are forced to probe it

ext/standard/tests/array/array_change_key_case_variation6.phpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $input = array('English' => array('one' => 1, 'two' => 2, 'three' => 3),
2020
echo "\n-- Pass a two-dimensional array as \$input argument --\n";
2121
var_dump(array_change_key_case($input, CASE_UPPER));
2222

23-
echo "\n-- Pass a sub-arry as \$input argument --\n";
23+
echo "\n-- Pass a sub-array as \$input argument --\n";
2424
var_dump(array_change_key_case($input['English'], CASE_UPPER));
2525

2626
echo "Done";
@@ -59,7 +59,7 @@ array(3) {
5959
}
6060
}
6161

62-
-- Pass a sub-arry as $input argument --
62+
-- Pass a sub-array as $input argument --
6363
array(3) {
6464
["ONE"]=>
6565
int(1)
0 Bytes
Binary file not shown.

ext/standard/tests/strings/join_basic.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ echo "*** Testing join() : basic functionality ***\n";
1414
$glue = ',';
1515
$pieces = array(1, 2, 3, 4);
1616

17-
// pieces as arry with numeric values
17+
// pieces as array with numeric values
1818
var_dump( join($glue, $pieces) );
1919

2020
// pieces as array with strings values

ext/standard/tests/strings/setlocale_variation1.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument
2+
Test setlocale() function : usage variations - passing multiple valid/invalid locales as argument
33
--SKIPIF--
44
<?php
55
if (substr(PHP_OS, 0, 3) == 'WIN') {

0 commit comments

Comments
 (0)