Skip to content

Commit 4f793ba

Browse files
authored
[skip ci] Fix duplicate words typos (GH-20800)
1 parent bc15a0d commit 4f793ba

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

Zend/zend_verify_type_inference.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ static void zend_verify_inference_def(zend_execute_data *execute_data, const zen
156156
}
157157
if (opline->op1_def_type
158158
&& (opline->op1_type & (IS_TMP_VAR|IS_VAR|IS_CV))
159-
// array is actually changed by the the following instruction(s)
159+
// array is actually changed by the following instruction(s)
160160
&& opline->opcode != ZEND_FETCH_DIM_W
161161
&& opline->opcode != ZEND_FETCH_DIM_RW
162162
&& opline->opcode != ZEND_FETCH_DIM_FUNC_ARG

docs/source/miscellaneous/writing-tests.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ Example 1 (full): :ref:`sample002.phpt`
13891389
``--EXPECT_EXTERNAL--``
13901390
-----------------------
13911391

1392-
**Description:** Similar to to ``--EXPECT--`` section, but just stating a filename where to load the
1392+
**Description:** Similar to ``--EXPECT--`` section, but just stating a filename where to load the
13931393
expected output from.
13941394

13951395
**Required:** One of the ``EXPECT`` type sections is required.
@@ -1526,7 +1526,7 @@ Example 2 (full): :ref:`sample020.phpt`
15261526
``--EXPECTF_EXTERNAL--``
15271527
------------------------
15281528

1529-
**Description:** Similar to to ``--EXPECTF--`` section, but like the ``--EXPECT_EXTERNAL--`` section
1529+
**Description:** Similar to ``--EXPECTF--`` section, but like the ``--EXPECT_EXTERNAL--`` section
15301530
just stating a filename where to load the expected output from.
15311531

15321532
**Required:** One of the ``EXPECT`` type sections is required.
@@ -1607,7 +1607,7 @@ Example 3 (snippet):
16071607
``--EXPECTREGEX_EXTERNAL--``
16081608
----------------------------
16091609

1610-
**Description:** Similar to to ``--EXPECTREGEX--`` section, but like the ``--EXPECT_EXTERNAL--``
1610+
**Description:** Similar to ``--EXPECTREGEX--`` section, but like the ``--EXPECT_EXTERNAL--``
16111611
section just stating a filename where to load the expected output from.
16121612

16131613
**Required:** One of the ``EXPECT`` type sections is required.

ext/fileinfo/tests/magic

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39944,7 +39944,7 @@
3994439944
# look for archive member RunTime.xml like in Microsoft.Windows.Cosa.Desktop.Client.ppkg
3994539945
>>>156 search/68233/s RunTime.xml \bWindows provisioning package)
3994639946
!:ext ppkg
39947-
# if is is not a Windows provisioning package, then it is a WIM
39947+
# if it is not a Windows provisioning package, then it is a WIM
3994839948
>>>156 default x \bWIM) image
3994939949
# second disk image part created by Microsoft's RecoveryDrive.exe has name Reconstruct.WIM2
3995039950
!:ext wim/wim2

ext/fileinfo/tests/magic私はガラスを食べられます

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39944,7 +39944,7 @@
3994439944
# look for archive member RunTime.xml like in Microsoft.Windows.Cosa.Desktop.Client.ppkg
3994539945
>>>156 search/68233/s RunTime.xml \bWindows provisioning package)
3994639946
!:ext ppkg
39947-
# if is is not a Windows provisioning package, then it is a WIM
39947+
# if it is not a Windows provisioning package, then it is a WIM
3994839948
>>>156 default x \bWIM) image
3994939949
# second disk image part created by Microsoft's RecoveryDrive.exe has name Reconstruct.WIM2
3995039950
!:ext wim/wim2

ext/gd/gd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4309,7 +4309,7 @@ PHP_FUNCTION(imageresolution)
43094309
*
43104310
* Stream Handling
43114311
* Formerly contained within ext/gd/gd_ctx.c and included
4312-
* at the the top of this file
4312+
* at the top of this file
43134313
*
43144314
********************************************************/
43154315

ext/random/tests/03_randomizer/methods/getBytesFromString_fast_path.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ for ($i = 1; $i <= strlen($allBytes); $i *= 2) {
4141
}
4242

4343
// We also expect that each possible value appears at least once, if
44-
// not is is very likely that some bits were erroneously masked away.
44+
// not it is very likely that some bits were erroneously masked away.
4545
var_dump(count($count));
4646

4747
echo PHP_EOL;
@@ -67,7 +67,7 @@ for ($i = 1; ($i + 1) <= strlen($allBytes); $i *= 2) {
6767
}
6868

6969
// We expect that each possible value appears at least once, if
70-
// not is is very likely that some bits were erroneously masked away.
70+
// not it is very likely that some bits were erroneously masked away.
7171
var_dump(count($count));
7272

7373
echo PHP_EOL;
@@ -90,7 +90,7 @@ for ($j = 0; $j < strlen($result); $j++) {
9090
}
9191

9292
// We also expect that each possible value appears at least once, if
93-
// not is is very likely that some bits were erroneously masked away.
93+
// not it is very likely that some bits were erroneously masked away.
9494
var_dump(count($count));
9595

9696
?>

sapi/fpm/fpm/events/kqueue.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static int fpm_event_kqueue_wait(struct fpm_event_queue_s *queue, unsigned long
150150
/* }}} */
151151

152152
/*
153-
* Add a FD to to kevent queue
153+
* Add a FD to kevent queue
154154
*/
155155
static int fpm_event_kqueue_add(struct fpm_event_s *ev) /* {{{ */
156156
{

scripts/dev/bless_tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function insertOutput(string $phpt, string $out): string {
124124
}
125125

126126
/**
127-
* Implementation of the the Myers diff algorithm.
127+
* Implementation of the Myers diff algorithm.
128128
*
129129
* Myers, Eugene W. "An O (ND) difference algorithm and its variations."
130130
* Algorithmica 1.1 (1986): 251-266.

win32/sendmail.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ static int Ack(char **server_response);
121121
static unsigned long GetAddr(LPSTR szHost);
122122
static int FormatEmailAddress(char* Buf, char* EmailAddress, char* FormatString);
123123

124-
/* This function is meant to unify the headers passed to to mail()
124+
/* This function is meant to unify the headers passed to mail()
125125
* This means, use PCRE to transform single occurrences of \n or \r in \r\n
126126
* As a second step we also eliminate all \r\n occurrences which are:
127127
* 1) At the start of the header

0 commit comments

Comments
 (0)