Skip to content

Commit 4261f2f

Browse files
committed
[skip ci] Move stuff to correct place
1 parent 50dfc43 commit 4261f2f

File tree

1 file changed

+60
-38
lines changed

1 file changed

+60
-38
lines changed

UPGRADING

Lines changed: 60 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,7 @@ PHP 8.4 UPGRADE NOTES
214214
. Calling simplexml_import_dom() with a non-XML object now throws a TypeError
215215
instead of a ValueError.
216216

217+
217218
- SOAP:
218219
. SoapClient::$httpurl is now a Soap\Url object rather than a resource.
219220
Checks using is_resource() (i.e. is_resource($client->httpurl)) should be
@@ -253,6 +254,9 @@ PHP 8.4 UPGRADE NOTES
253254
. The "allowed_classes" option for unserialize() now throws TypeErrors and
254255
ValueErrors if it is not an array of class names.
255256
. http_build_query() now correctly handles backed enums.
257+
. stream_bucket_make_writeable() and stream_bucket_new() will now return a
258+
StreamBucket instance instead of an instance of stdClass.
259+
RFC: https://wiki.php.net/rfc/dedicated_stream_bucket
256260

257261
- Tidy:
258262
. Failures in the constructor now throw exceptions rather than emitting
@@ -318,6 +322,7 @@ PHP 8.4 UPGRADE NOTES
318322
. Implemented lazy objects.
319323
RFC: https://wiki.php.net/rfc/lazy-objects
320324

325+
321326
- Curl:
322327
. curl_version() returns an additional feature_list value, which is an
323328
associative array of all known Curl features, and whether they are
@@ -343,13 +348,6 @@ PHP 8.4 UPGRADE NOTES
343348
value can also be retrieved by passing CURLINFO_POSTTRANSFER_TIME_T to the
344349
curl_getinfo() $option parameter. This requires libcurl 8.10.0 or later.
345350

346-
- Date:
347-
. Added static methods
348-
DateTime[Immutable]::createFromTimestamp(int|float $timestamp): static.
349-
. Added method DateTime[Immutable]::getMicrosecond(): int.
350-
. Added method
351-
DateTime[Immutable]::setMicrosecond(int $microsecond): static.
352-
353351
- DOM:
354352
. Added constant DOMNode::DOCUMENT_POSITION_DISCONNECTED.
355353
. Added constant DOMNode::DOCUMENT_POSITION_PRECEDING.
@@ -364,9 +362,6 @@ PHP 8.4 UPGRADE NOTES
364362
. Flushing headers without a body will now succeed. See GH-12785.
365363
. Status page has a new field to display a memory peak.
366364

367-
- Hash:
368-
. Added HashContext::__debugInfo().
369-
370365
- Intl:
371366
. NumberFormatter::ROUND_HALFODD added to complement existing
372367
NumberFormatter::ROUND_HALFEVEN functionality.
@@ -403,14 +398,7 @@ PHP 8.4 UPGRADE NOTES
403398
- two-dashes and non-nested C-style comments.
404399
RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
405400

406-
- PDO_DBLIB:
407-
. Added class Pdo\DbLib.
408-
409-
- PDO_FIREBIRD:
410-
. Added class Pdo\Firebird.
411-
412401
- PDO_MYSQL:
413-
. Added class Pdo\Mysql.
414402
. Added custom parser supporting:
415403
- single and double-quoted literals, with doubling and backslash as escaping
416404
mechanism
@@ -419,11 +407,7 @@ PHP 8.4 UPGRADE NOTES
419407
and hash-comments
420408
RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
421409

422-
- PDO_ODBC:
423-
. Added class Pdo\Odbc.
424-
425410
- PDO_PGSQL:
426-
. Added class Pdo\Pgsql.
427411
. Added custom parser supporting:
428412
- single and double quoted literals, with doubling as escaping mechanism
429413
- C-style "escape" string literals (E'string')
@@ -433,23 +417,15 @@ PHP 8.4 UPGRADE NOTES
433417
RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
434418

435419
- PDO_SQLITE:
436-
. Added class Pdo\Sqlite.
437420
. Added custom parser supporting:
438421
- single, double quoted, and backtick literals, with doubling as escaping mechanism
439422
- square brackets quoting for identifiers
440423
- two-dashes and C-style comments (non-nested)
441424
RFC: https://wiki.php.net/rfc/pdo_driver_specific_parsers
442425

443-
- PgSQL:
444-
. Added pg_result_memory_size to get the visibility the memory used by a query result.
445-
446426
- Phar:
447427
. Added support for the unix timestamp extension for zip archives.
448428

449-
- POSIX:
450-
. Added constant POSIX_SC_CHILD_MAX
451-
. Added constant POSIX_SC_CLK_TCK
452-
453429
- Readfile:
454430
. Added ability to change .php_history path through PHP_HISTFILE env variable.
455431

@@ -458,9 +434,6 @@ PHP 8.4 UPGRADE NOTES
458434
experience.
459435
. ReflectionClassConstant::__toString() and ReflectionProperty::__toString()
460436
now returns the attached doc comments.
461-
. ReflectionConstant was introduced.
462-
. ReflectionClassConstant::isDeprecated() was introduced.
463-
. ReflectionGenerator::isClosed() was introduced.
464437
. Multiple methods and constants related to lazy objects were introduced:
465438
- ReflectionClass::newLazyGhost()
466439
- ReflectionClass::newLazyProxy()
@@ -475,7 +448,6 @@ PHP 8.4 UPGRADE NOTES
475448
- ReflectionClass::SKIP_INITIALIZATION_ON_SERIALIZE
476449
- ReflectionClass::SKIP_DESTRUCTOR
477450
RFC: https://wiki.php.net/rfc/lazy-objects
478-
. ReflectionProperty::isDynamic() was introduced.
479451

480452
- SOAP:
481453
. Added support for clark notation for namespaces in class map.
@@ -488,9 +460,6 @@ PHP 8.4 UPGRADE NOTES
488460
. Session persistence now works with a shared session module.
489461

490462
- Standard:
491-
. stream_bucket_make_writeable() and stream_bucket_new() will now return a
492-
StreamBucket instance instead of an instance of stdClass.
493-
RFC: https://wiki.php.net/rfc/dedicated_stream_bucket
494463
. Added a new RoundingMode enum with clearer naming and improved discoverability
495464
compared to the PHP_ROUND_* constants.
496465
RFC: https://wiki.php.net/rfc/correctly_name_the_rounding_mode_and_make_it_an_enum
@@ -742,7 +711,7 @@ PHP 8.4 UPGRADE NOTES
742711
Along with these, five constants (Pdo\Firebird::TRANSACTION_ISOLATION_LEVEL,
743712
Pdo\Firebird::READ_COMMITTED, Pdo\Firebird::REPEATABLE_READ,
744713
Pdo\Firebird::SERIALIZABLE, Pdo\Firebird::WRITABLE_TRANSACTION) have been added.
745-
. When using persistent connections, there is now a liveness check in the
714+
. When using persistent connections, there is now a liveliness check in the
746715
constructor.
747716
. The content that is built changes depending on the value of FB_API_VER in
748717
ibase.h, so added static method Pdo\Firebird::getApiVersion() to obtain that
@@ -826,12 +795,23 @@ PHP 8.4 UPGRADE NOTES
826795
. Added bcdivmod().
827796
RFC: https://wiki.php.net/rfc/add_bcdivmod_to_bcmath
828797

798+
- Date:
799+
. Added static methods
800+
DateTime[Immutable]::createFromTimestamp(int|float $timestamp): static.
801+
. Added method DateTime[Immutable]::getMicrosecond(): int.
802+
. Added method
803+
DateTime[Immutable]::setMicrosecond(int $microsecond): static.
804+
829805
- DOM:
830806
. Added DOMNode::compareDocumentPosition().
831807
. Added DOMXPath::registerPhpFunctionNS().
832808
RFC: https://wiki.php.net/rfc/improve_callbacks_dom_and_xsl
833809
. Added DOMXPath::quote() to quote a string for use in an XPath expression.
834810
Example usage: "//span[contains(text()," . $xpath->quote($string) . ")]"
811+
. DOMNode::compareDocumentPosition()
812+
813+
- Hash:
814+
. Added HashContext::__debugInfo().
835815

836816
- Intl:
837817
. Added IntlDateFormatter::getIanaID()/intltz_get_iana_id() to
@@ -880,6 +860,7 @@ PHP 8.4 UPGRADE NOTES
880860
. Added pg_jit to get informations on the server JIT support.
881861
. Added pg_set_chunked_rows_size to allow to fetch results in chunk of
882862
max N rows.
863+
. Added pg_result_memory_size to get the visibility the memory used by a query result.
883864

884865
- Reflection:
885866
. Multiple methods related to lazy objects were introduced:
@@ -894,6 +875,9 @@ PHP 8.4 UPGRADE NOTES
894875
- ReflectionProperty::skipLazyInitialization()
895876
- ReflectionProperty::setRawValueWithoutLazyInitialization()
896877
RFC: https://wiki.php.net/rfc/lazy-objects
878+
. ReflectionClassConstant::isDeprecated() was introduced.
879+
. ReflectionGenerator::isClosed() was introduced.
880+
. ReflectionProperty::isDynamic() was introduced.
897881

898882
- Sodium:
899883
. Added the sodium_crypto_aead_aegis128l_*() and sodium_crypto_aead_aegis256l_*()
@@ -951,8 +935,10 @@ PHP 8.4 UPGRADE NOTES
951935
https://wiki.php.net/rfc/fix_up_bcmath_number_class
952936

953937
- Core:
954-
. New RequestParseBodyException.
938+
. RequestParseBodyException.
955939
RFC: https://wiki.php.net/rfc/rfc1867-non-post
940+
. #[\Deprecated] attribute.
941+
RFC: https://wiki.php.net/rfc/deprecated_attribute
956942

957943
- DBA:
958944
. Dba\Connection opaque object replacing DBA resources
@@ -975,6 +961,38 @@ PHP 8.4 UPGRADE NOTES
975961
. Implemented "New ext-dom features in PHP 8.4" RFC.
976962
RFC: https://wiki.php.net/rfc/dom_additions_84
977963

964+
- ODBC:
965+
. Odbc\Connection
966+
. Odbc\Result
967+
968+
- PDO_DBLIB:
969+
. Pdo\DbLib.
970+
971+
- PDO_FIREBIRD:
972+
. Pdo\Firebird.
973+
974+
- PDO_MYSQL:
975+
. Pdo\Mysql.
976+
977+
- PDO_ODBC:
978+
. Pdo\Odbc.
979+
980+
- PDO_PGSQL:
981+
. Pdo\Pgsql.
982+
983+
- PDO_SQLITE:
984+
. Pdo\Sqlite.
985+
986+
- Reflection:
987+
. ReflectionConstant
988+
989+
- SOAP:
990+
. Soap\Url
991+
. Soap\Sdl
992+
993+
- Standard:
994+
. StreamBucket
995+
978996
========================================
979997
8. Removed Extensions and SAPIs
980998
========================================
@@ -1109,6 +1127,10 @@ PHP 8.4 UPGRADE NOTES
11091127
- PgSQL:
11101128
. PGSQL_TUPLES_CHUNK
11111129

1130+
- POSIX:
1131+
. POSIX_SC_CHILD_MAX
1132+
. POSIX_SC_CLK_TCK
1133+
11121134
- Sockets:
11131135
. SO_EXCLUSIVEADDRUSE (Windows only).
11141136
. SOCK_CONN_DGRAM (NetBSD only).

0 commit comments

Comments
 (0)