Skip to content

Commit fd109f8

Browse files
committed
fix typo
1 parent ecbdd2b commit fd109f8

File tree

13 files changed

+23
-23
lines changed

13 files changed

+23
-23
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/date/lib/timelib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ void timelib_set_timezone_from_offset(timelib_time *t, timelib_sll utc_offset);
713713
void timelib_set_timezone_from_abbr(timelib_time *t, timelib_abbr_info abbr_info);
714714

715715
/**
716-
* Attaches the time zone information in 'tz' to to 't'.
716+
* Attaches the time zone information in 'tz' to 't'.
717717
*
718718
* It fetches the right UTC offset that is currently stored in the time
719719
* stamp field in 't' ('sse'), and assigns that to the 'z' field and 'dst'

ext/fileinfo/tests/magic

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15004,7 +15004,7 @@
1500415004
>12 use next
1500515005

1500615006
# bcachefs
15007-
# From: Thomas Wei�schuh <[email protected]>
15007+
# From: Thomas Wei�schuh <[email protected]>
1500815008

1500915009
0 name bcachefs-uuid
1501015010
>0 ubelong x \b%08x
@@ -19034,7 +19034,7 @@
1903419034
# GRR: with --keep-going option the line above gives duplicate messages
1903519035
0 search/1/ts #FIG
1903619036
>&0 use image-xfig
19037-
# binary data variant with non ASCII text characters like Control-A or �C in thermostat.fig
19037+
# binary data variant with non ASCII text characters like Control-A or �C in thermostat.fig
1903819038
0 search/1/bs #FIG
1903919039
>&0 use image-xfig
1904019040
# display XFIG image describing text, mime type, file name extension and version
@@ -28342,7 +28342,7 @@
2834228342
# URL: https://en.wikipedia.org/wiki/Microsoft_OneNote#File_format
2834328343
# http://fileformats.archiveteam.org/wiki/OneNote
2834428344
# Reference: https://mark0.net/download/triddefs_xml.7z/defs/o/onepkg.trid.xml
28345-
# 1st member name like: "Class Notes.one" "test-onenote.one" "Open Notebook.onetoc2" "Editor �ffnen.onetoc2"
28345+
# 1st member name like: "Class Notes.one" "test-onenote.one" "Open Notebook.onetoc2" "Editor �ffnen.onetoc2"
2834628346
>>>>>&0 string/c one \b, OneNote Package
2834728347
!:mime application/msonenote
2834828348
!:ext onepkg
@@ -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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15004,7 +15004,7 @@
1500415004
>12 use next
1500515005

1500615006
# bcachefs
15007-
# From: Thomas Wei�schuh <[email protected]>
15007+
# From: Thomas Wei�schuh <[email protected]>
1500815008

1500915009
0 name bcachefs-uuid
1501015010
>0 ubelong x \b%08x
@@ -19034,7 +19034,7 @@
1903419034
# GRR: with --keep-going option the line above gives duplicate messages
1903519035
0 search/1/ts #FIG
1903619036
>&0 use image-xfig
19037-
# binary data variant with non ASCII text characters like Control-A or �C in thermostat.fig
19037+
# binary data variant with non ASCII text characters like Control-A or �C in thermostat.fig
1903819038
0 search/1/bs #FIG
1903919039
>&0 use image-xfig
1904019040
# display XFIG image describing text, mime type, file name extension and version
@@ -28342,7 +28342,7 @@
2834228342
# URL: https://en.wikipedia.org/wiki/Microsoft_OneNote#File_format
2834328343
# http://fileformats.archiveteam.org/wiki/OneNote
2834428344
# Reference: https://mark0.net/download/triddefs_xml.7z/defs/o/onepkg.trid.xml
28345-
# 1st member name like: "Class Notes.one" "test-onenote.one" "Open Notebook.onetoc2" "Editor �ffnen.onetoc2"
28345+
# 1st member name like: "Class Notes.one" "test-onenote.one" "Open Notebook.onetoc2" "Editor �ffnen.onetoc2"
2834628346
>>>>>&0 string/c one \b, OneNote Package
2834728347
!:mime application/msonenote
2834828348
!:ext onepkg
@@ -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/pcre/pcre2lib/pcre2_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7753,7 +7753,7 @@ for (;; pptr++)
77537753
/* If previous was a character type match (\d or similar), abolish it and
77547754
create a suitable repeat item. The code is shared with single-character
77557755
repeats by setting op_type to add a suitable offset into repeat_type.
7756-
Note the the Unicode property types will be present only when
7756+
Note the Unicode property types will be present only when
77577757
SUPPORT_UNICODE is defined, but we don't wrap the little bits of code
77587758
here because it just makes it horribly messy. */
77597759

ext/pcre/pcre2lib/sljit/sljitLir.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compile
12341234
#define SLJIT_SHL (SLJIT_OP2_BASE + 8)
12351235
#define SLJIT_SHL32 (SLJIT_SHL | SLJIT_32)
12361236
/* Flags: Z
1237-
Same as SLJIT_SHL, except the the second operand is
1237+
Same as SLJIT_SHL, except the second operand is
12381238
always masked by the length of the shift operation. */
12391239
#define SLJIT_MSHL (SLJIT_OP2_BASE + 9)
12401240
#define SLJIT_MSHL32 (SLJIT_MSHL | SLJIT_32)
@@ -1246,7 +1246,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compile
12461246
#define SLJIT_LSHR (SLJIT_OP2_BASE + 10)
12471247
#define SLJIT_LSHR32 (SLJIT_LSHR | SLJIT_32)
12481248
/* Flags: Z
1249-
Same as SLJIT_LSHR, except the the second operand is
1249+
Same as SLJIT_LSHR, except the second operand is
12501250
always masked by the length of the shift operation. */
12511251
#define SLJIT_MLSHR (SLJIT_OP2_BASE + 11)
12521252
#define SLJIT_MLSHR32 (SLJIT_MLSHR | SLJIT_32)
@@ -1258,7 +1258,7 @@ SLJIT_API_FUNC_ATTRIBUTE sljit_s32 sljit_emit_op1(struct sljit_compiler *compile
12581258
#define SLJIT_ASHR (SLJIT_OP2_BASE + 12)
12591259
#define SLJIT_ASHR32 (SLJIT_ASHR | SLJIT_32)
12601260
/* Flags: Z
1261-
Same as SLJIT_ASHR, except the the second operand is
1261+
Same as SLJIT_ASHR, except the second operand is
12621262
always masked by the length of the shift operation. */
12631263
#define SLJIT_MASHR (SLJIT_OP2_BASE + 13)
12641264
#define SLJIT_MASHR32 (SLJIT_MASHR | SLJIT_32)

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
?>

ext/uri/uriparser/src/UriCommon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ UriBool URI_FUNC(FixPathNoScheme)(URI_TYPE(Uri) * uri, UriMemoryManager * memory
727727
}
728728

729729
/* When dropping a host from a URI without a scheme, an absolute path
730-
* and and empty first path segment, a consecutive reparse would rightfully
730+
* and empty first path segment, a consecutive reparse would rightfully
731731
* mis-classify the first path segment as a host marker due to the "//".
732732
* To protect against this case, we prepend an artificial "." segment
733733
* to the path in here; the function is called after the host has

0 commit comments

Comments
 (0)