Skip to content

Commit 68d5c81

Browse files
jrfnlTimWolla
authored andcommitted
[skip ci] 8.4 | UPGRADING: add missing RFC links
Includes fixing up existing (deprecations) RFC links which didn't directly link to the section within the RFC.
1 parent f6dcca0 commit 68d5c81

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

UPGRADING

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ PHP 8.4 UPGRADE NOTES
6464
object. This is no longer possible, and cloning a DOMXPath object now throws
6565
an error.
6666
. DOMDocument::$actualEncoding, DOMDocument::config, DOMEntity::$actualEncoding,
67-
DOMEntity::$encoding, DOMEntity::$version have been deprecated as part of the
68-
https://wiki.php.net/rfc/deprecations_php_8_4 RFC.
67+
DOMEntity::$encoding, DOMEntity::$version have been deprecated.
68+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#formally_deprecate_soft-deprecated_domdocument_and_domentity_properties
6969

7070
- GMP:
7171
. The GMP class is now final and cannot be extended anymore.
@@ -305,6 +305,7 @@ PHP 8.4 UPGRADE NOTES
305305
. Added support for driver specific SQL parsers. The default parser supports:
306306
- single and double quoted literals, with doubling as escaping mechanism.
307307
- two-dashes and non-nested C-style comments.
308+
RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
308309

309310
- PDO_MYSQL:
310311
. Added custom parser supporting:
@@ -313,6 +314,7 @@ PHP 8.4 UPGRADE NOTES
313314
- backtick literal identifiers and with doubling as escaping mechanism
314315
- two dashes followed by at least 1 whitespace, non-nested C-style comments,
315316
and hash-comments
317+
RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
316318

317319
- PDO_PGSQL:
318320
. Added custom parser supporting:
@@ -321,12 +323,14 @@ PHP 8.4 UPGRADE NOTES
321323
- dollar-quoted string literals
322324
- two-dashes and C-style comments (non-nested)
323325
- support for "??" as escape sequence for the "?" operator
326+
RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
324327

325328
- PDO_SQLITE:
326329
. Added custom parser supporting:
327330
- single, double quoted, and backtick literals, with doubling as escaping mechanism
328331
- square brackets quoting for identifiers
329332
- two-dashes and C-style comments (non-nested)
333+
RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
330334

331335
- Phar:
332336
. Added support for the unix timestamp extension for zip archives.
@@ -443,7 +447,7 @@ PHP 8.4 UPGRADE NOTES
443447
. Constants SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING, and
444448
SUNFUNCS_RET_DOUBLE are now deprecated, following the deprecation of
445449
the associated date_sunset() and date_sunrise() functions in PHP 8.1.
446-
RFC: https://wiki.php.net/rfc/deprecations_php_8_4
450+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#constants_sunfuncs_ret_string_sunfuncs_ret_double_sunfuncs_ret_timestamp
447451

448452
- DBA:
449453
. Passing null or false to dba_key_split() is deprecated.
@@ -455,7 +459,7 @@ PHP 8.4 UPGRADE NOTES
455459

456460
- Hash:
457461
. Deprecated passing incorrect data types for options to ext/hash functions.
458-
RFC: https://wiki.php.net/rfc/deprecations_php_8_4
462+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_passing_incorrect_data_types_for_options_to_exthash_functions
459463

460464
- Intl:
461465
. Calling intlcal_set() as well as calling IntlCalendar::set() with
@@ -505,7 +509,7 @@ PHP 8.4 UPGRADE NOTES
505509
- Random:
506510
. lcg_value() is deprecated, as the function is broken in multiple ways.
507511
Use \Random\Randomizer::getFloat() instead.
508-
RFC: https://wiki.php.net/rfc/deprecations_php_8_4
512+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#deprecate_lcg_value
509513

510514
- Reflection:
511515
. Calling ReflectionMethod::__construct() with 1 argument is deprecated.
@@ -517,7 +521,7 @@ PHP 8.4 UPGRADE NOTES
517521
. Changing the INI settings session.sid_length and session.sid_bits_per_character
518522
is deprecated. Update the session storage backend to accept 32 character
519523
hexadecimal session IDs and stop changing these two INI settings.
520-
RFC: https://wiki.php.net/rfc/deprecations_php_8_4
524+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#sessionsid_length_and_sessionsid_bits_per_character
521525

522526
- SOAP:
523527
. Passing an int to SoapServer::addFunction() is now deprecated.
@@ -543,7 +547,7 @@ PHP 8.4 UPGRADE NOTES
543547
. Raising zero to the power of negative number is deprecated.
544548
RFC: https://wiki.php.net/rfc/raising_zero_to_power_of_negative_number
545549
. Unserializing strings using the uppercase 'S' tag is deprecated.
546-
RFC: https://wiki.php.net/rfc/deprecations_php_8_4
550+
RFC: https://wiki.php.net/rfc/deprecations_php_8_4#unserialize_s_s_tag
547551
. Passing a non-empty string for the $enclosure parameter of:
548552
- fputcsv()
549553
- fgetcsv()
@@ -683,11 +687,9 @@ PHP 8.4 UPGRADE NOTES
683687
earlier PHP versions.
684688
. The $mode parameter of the round() function has been widened to RoundingMode|int,
685689
accepting instances of a new RoundingMode enum.
686-
687690
RFC: https://wiki.php.net/rfc/correctly_name_the_rounding_mode_and_make_it_an_enum
688691
. Four new modes have been added to the round() function: RoundingMode::PositiveInfinity,
689692
RoundingMode::NegativeInfinity, RoundingMode::TowardsZero, RoundingMode::AwayFromZero.
690-
691693
RFC: https://wiki.php.net/rfc/new_rounding_modes_to_round_function
692694
. Fixed a bug caused by "pre-rounding" of the round() function. Previously, using
693695
"pre-rounding" to treat a value like 0.285 (actually 0.28499999999999998) as a
@@ -699,7 +701,6 @@ PHP 8.4 UPGRADE NOTES
699701
but now returns `4503599627370496`.
700702
. The default value of the 'cost' option for PASSWORD_BCRYPT for password_hash()
701703
has been increased from '10' to '12'.
702-
703704
RFC: https://wiki.php.net/rfc/bcrypt_cost_2023
704705
. debug_zval_dump() now indicates whether an array is packed.
705706
. long2ip() now returns string instead of string|false.

0 commit comments

Comments
 (0)