Skip to content

Commit 345e04b

Browse files
[skip ci] Fix typos in NEWS, UPGRADING and UPGRADING.INTERNALS (#19341)
1 parent 55a3e33 commit 345e04b

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

NEWS

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ PHP NEWS
126126

127127
- CURL:
128128
. Added CURLFOLLOW_ALL, CURLFOLLOW_OBEYCODE and CURLFOLLOW_FIRSTONLY
129-
values for CURLOPT_FOLLOLOCATION curl_easy_setopt option. (David Carlier)
129+
values for CURLOPT_FOLLOWLOCATION curl_easy_setopt option. (David Carlier)
130130

131131
- COM:
132132
. Fixed property access of PHP objects wrapped in variant. (cmb)
@@ -245,7 +245,7 @@ PHP NEWS
245245

246246
- OpenSSL:
247247
. Added openssl.libctx INI that allows to select the OpenSSL library context
248-
type and convert verious parts of the extension to use the custom libctx.
248+
type and convert various parts of the extension to use the custom libctx.
249249
(Jakub Zelenka)
250250

251251
- Output:
@@ -255,7 +255,7 @@ PHP NEWS
255255
. Extend pcntl_waitid with rusage parameter. (vrza)
256256

257257
- PCRE:
258-
. Upgraded to pre2lib from 10.44 to 10.45. (nielsdos)
258+
. Upgraded to pcre2lib from 10.44 to 10.45. (nielsdos)
259259
. Remove PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK from pcre compile options.
260260
(mvorisek)
261261

@@ -364,7 +364,7 @@ PHP NEWS
364364
(David Carlier)
365365

366366
- Sodium:
367-
. Fix overall theorical overflows on zend_string buffer allocations.
367+
. Fix overall theoretical overflows on zend_string buffer allocations.
368368
(David Carlier/nielsdos)
369369

370370
- Sqlite:
@@ -393,7 +393,7 @@ PHP NEWS
393393
(cmb)
394394

395395
- Tests:
396-
. Allow to shuffle tests even in non-parallell mode. (dhuang00)
396+
. Allow to shuffle tests even in non-parallel mode. (dhuang00)
397397

398398
- Tidy:
399399
. tidy::__construct/parseFile/parseString methods throw an exception if

UPGRADING

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ PHP 8.5 UPGRADE NOTES
266266

267267
- Standard:
268268
. getimagesize() now supports SVG images when ext-libxml is also loaded.
269-
Similarly, image_type_to_extension() and image_type_to_extension()
269+
Similarly, image_type_to_extension() and image_type_to_mime_type()
270270
now also handle IMAGETYPE_SVG.
271271
. The array returned by getimagesize() now has two additional entries:
272272
"width_unit" and "height_unit" to indicate in which units the dimensions
@@ -348,7 +348,7 @@ PHP 8.5 UPGRADE NOTES
348348

349349
- OpenSSL:
350350
. openssl_public_encrypt() and openssl_private_decrypt() have new parameter
351-
$digest_algo that allows specifying hash digest algorith for OEAP padding.
351+
$digest_algo that allows specifying hash digest algorithm for OEAP padding.
352352

353353
- PCNTL:
354354
. pcntl_exec() now has a formal return type of false.
@@ -396,14 +396,14 @@ PHP 8.5 UPGRADE NOTES
396396
are enum cases rather than normal class constants.
397397
. The output of ReflectionProperty::__toString() for properties with
398398
hooks has changed to indicate what hooks the property has, whether those
399-
hooks are final, and whether the property is virtual. This also affects
399+
hooks are final, and whether the property is virtual. This also affects
400400
the output of ReflectionClass::__toString() when a class contains hooked
401401
properties.
402402

403403
- Session:
404404
. session_start is stricter in regard to the option argument.
405405
It throws a ValueError if the whole is not a hashmap or
406-
a TypeError if read_on_close value is not a valid type
406+
a TypeError if read_and_close value is not a valid type
407407
compatible with int.
408408

409409
- SNMP:

UPGRADING.INTERNALS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ PHP 8.5 INTERNALS UPGRADE NOTES
9696
that appropriate build rules are created.
9797

9898
- Unix build system changes
99-
. libdir is properly set when --libdir (ex: /usr/lib64) and --with-libdir (ex lib64)
99+
. libdir is properly set when --libdir (ex: /usr/lib64) and --with-libdir (ex: lib64)
100100
configure options are used to ${libdir}/php (ex: /usr/lib64/php)
101101
. PHP_ODBC_CFLAGS, PHP_ODBC_LFLAGS, PHP_ODBC_LIBS, PHP_ODBC_TYPE preprocessor
102102
macros defined by ext/odbc are now defined in php_config.h instead of the

0 commit comments

Comments
 (0)