Skip to content

Commit 41996e8

Browse files
ext/[cd]*: fix a bunch of typos (#16298)
Only functional change is the renaming of the functions `dom_document_substitue_entities_(read|write)` to replace `substitue` with `substitute`.
1 parent e34eebb commit 41996e8

33 files changed

+37
-37
lines changed

ext/calendar/calendar.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ static char *heb_number_to_chars(int n, int fl, char **ret)
398398
n -= 400;
399399
}
400400

401-
/* meot (hundreads) case */
401+
/* meot (hundreds) case */
402402
if (n >= 100) {
403403
*p = alef_bet[18 + n / 100];
404404
p++;

ext/calendar/julian.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
* the Julian calendar.
6868
*
6969
* The details are unknown, but the lengths of the months were adjusted
70-
* until they finally stablized in 8 A.D. with their current lengths:
70+
* until they finally stabilized in 8 A.D. with their current lengths:
7171
*
7272
* January 31
7373
* February 28/29

ext/com_dotnet/tests/gh8778.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Bug GH-8778 (Integer arithmethic with large number variants fails)
2+
Bug GH-8778 (Integer arithmetic with large number variants fails)
33
--EXTENSIONS--
44
com_dotnet
55
--SKIPIF--

ext/ctype/tests/ctype_xdigit_variation1.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Test ctype_xdigit() function : usage variations - different data typse as $c arg
2+
Test ctype_xdigit() function : usage variations - different data types as $c arg
33
--EXTENSIONS--
44
ctype
55
--FILE--

ext/curl/interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161

6262
#ifdef __GNUC__
6363
/* don't complain about deprecated CURLOPT_* we're exposing to PHP; we
64-
need to keep using those to avoid breaking PHP API compatibiltiy */
64+
need to keep using those to avoid breaking PHP API compatibility */
6565
# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
6666
#endif
6767

ext/curl/tests/bug71144.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Bug #71144 (Sementation fault when using cURL with ZTS)
2+
Bug #71144 (Segmentation fault when using cURL with ZTS)
33
--DESCRIPTION--
44
Since Curl 7.62, CURLOPT_DNS_USE_GLOBAL_CACHE has no effect, and is
55
silently ignored.

ext/curl/tests/curl_copy_handle_variation2.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Francesco Fullone [email protected]
66
--EXTENSIONS--
77
curl
88
--DESCRIPTION--
9-
the only way to test if a option is setten on a curl handle is using the curl_getinfo() function.
9+
the only way to test if a option is set on a curl handle is using the curl_getinfo() function.
1010
but this can only check on a limited amount of options...
1111
--FILE--
1212
<?php

ext/curl/tests/curl_multi_setopt_callables.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Test curl_multi_setopt() with options that take callabes
2+
Test curl_multi_setopt() with options that take callables
33
--EXTENSIONS--
44
curl
55
--FILE--

ext/curl/tests/curl_setopt_callables.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Test curl_setopt(_array)() with options that take callabes
2+
Test curl_setopt(_array)() with options that take callables
33
--EXTENSIONS--
44
curl
55
--FILE--

ext/date/php_date.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2699,7 +2699,7 @@ PHP_METHOD(DateTime, createFromInterface)
26992699
}
27002700
/* }}} */
27012701

2702-
/* {{{ Creates new DateTime object from given unix timetamp */
2702+
/* {{{ Creates new DateTime object from given unix timestamp */
27032703
PHP_METHOD(DateTime, createFromTimestamp)
27042704
{
27052705
zval *value;

0 commit comments

Comments
 (0)