@@ -64,8 +64,8 @@ PHP 8.4 UPGRADE NOTES
64
64
object. This is no longer possible, and cloning a DOMXPath object now throws
65
65
an error.
66
66
. 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
69
69
70
70
- GMP:
71
71
. The GMP class is now final and cannot be extended anymore.
@@ -305,6 +305,7 @@ PHP 8.4 UPGRADE NOTES
305
305
. Added support for driver specific SQL parsers. The default parser supports:
306
306
- single and double quoted literals, with doubling as escaping mechanism.
307
307
- two-dashes and non-nested C-style comments.
308
+ RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
308
309
309
310
- PDO_MYSQL:
310
311
. Added custom parser supporting:
@@ -313,6 +314,7 @@ PHP 8.4 UPGRADE NOTES
313
314
- backtick literal identifiers and with doubling as escaping mechanism
314
315
- two dashes followed by at least 1 whitespace, non-nested C-style comments,
315
316
and hash-comments
317
+ RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
316
318
317
319
- PDO_PGSQL:
318
320
. Added custom parser supporting:
@@ -321,12 +323,14 @@ PHP 8.4 UPGRADE NOTES
321
323
- dollar-quoted string literals
322
324
- two-dashes and C-style comments (non-nested)
323
325
- support for "??" as escape sequence for the "?" operator
326
+ RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
324
327
325
328
- PDO_SQLITE:
326
329
. Added custom parser supporting:
327
330
- single, double quoted, and backtick literals, with doubling as escaping mechanism
328
331
- square brackets quoting for identifiers
329
332
- two-dashes and C-style comments (non-nested)
333
+ RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
330
334
331
335
- Phar:
332
336
. Added support for the unix timestamp extension for zip archives.
@@ -443,7 +447,7 @@ PHP 8.4 UPGRADE NOTES
443
447
. Constants SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING, and
444
448
SUNFUNCS_RET_DOUBLE are now deprecated, following the deprecation of
445
449
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
447
451
448
452
- DBA:
449
453
. Passing null or false to dba_key_split() is deprecated.
@@ -455,7 +459,7 @@ PHP 8.4 UPGRADE NOTES
455
459
456
460
- Hash:
457
461
. 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
459
463
460
464
- Intl:
461
465
. Calling intlcal_set() as well as calling IntlCalendar::set() with
@@ -505,7 +509,7 @@ PHP 8.4 UPGRADE NOTES
505
509
- Random:
506
510
. lcg_value() is deprecated, as the function is broken in multiple ways.
507
511
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
509
513
510
514
- Reflection:
511
515
. Calling ReflectionMethod::__construct() with 1 argument is deprecated.
@@ -517,7 +521,7 @@ PHP 8.4 UPGRADE NOTES
517
521
. Changing the INI settings session.sid_length and session.sid_bits_per_character
518
522
is deprecated. Update the session storage backend to accept 32 character
519
523
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
521
525
522
526
- SOAP:
523
527
. Passing an int to SoapServer::addFunction() is now deprecated.
@@ -543,7 +547,7 @@ PHP 8.4 UPGRADE NOTES
543
547
. Raising zero to the power of negative number is deprecated.
544
548
RFC: https://wiki.php.net/rfc/raising_zero_to_power_of_negative_number
545
549
. 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
547
551
. Passing a non-empty string for the $enclosure parameter of:
548
552
- fputcsv()
549
553
- fgetcsv()
@@ -683,11 +687,9 @@ PHP 8.4 UPGRADE NOTES
683
687
earlier PHP versions.
684
688
. The $mode parameter of the round() function has been widened to RoundingMode|int,
685
689
accepting instances of a new RoundingMode enum.
686
-
687
690
RFC: https://wiki.php.net/rfc/correctly_name_the_rounding_mode_and_make_it_an_enum
688
691
. Four new modes have been added to the round() function: RoundingMode::PositiveInfinity,
689
692
RoundingMode::NegativeInfinity, RoundingMode::TowardsZero, RoundingMode::AwayFromZero.
690
-
691
693
RFC: https://wiki.php.net/rfc/new_rounding_modes_to_round_function
692
694
. Fixed a bug caused by "pre-rounding" of the round() function. Previously, using
693
695
"pre-rounding" to treat a value like 0.285 (actually 0.28499999999999998) as a
@@ -699,7 +701,6 @@ PHP 8.4 UPGRADE NOTES
699
701
but now returns `4503599627370496`.
700
702
. The default value of the 'cost' option for PASSWORD_BCRYPT for password_hash()
701
703
has been increased from '10' to '12'.
702
-
703
704
RFC: https://wiki.php.net/rfc/bcrypt_cost_2023
704
705
. debug_zval_dump() now indicates whether an array is packed.
705
706
. long2ip() now returns string instead of string|false.
0 commit comments