Skip to content

Commit 9b335c5

Browse files
committed
Update/fix UPGRADING
1 parent 93aabf1 commit 9b335c5

File tree

1 file changed

+36
-5
lines changed

1 file changed

+36
-5
lines changed

UPGRADING

Lines changed: 36 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Core:
5353
case "baz":
5454
continue;
5555
// Warning: "continue" targeting switch is equivalent to
56-
"break". Did you mean to use "continue 2"?
56+
// "break". Did you mean to use "continue 2"?
5757
}
5858
}
5959

@@ -397,6 +397,8 @@ Core:
397397
are available under Linux, FreeBSD, Windows, Mac, SunOS, AIX and their
398398
derivatives. If no required timers are provided by a corresponding
399399
platform, the function returns false.
400+
. Added net_get_interfaces() to retrieve an array of available network
401+
interfaces including several details.
400402

401403
Date:
402404
. Added the DateTime::createFromImmutable() method, which mirrors
@@ -426,6 +428,10 @@ Intl:
426428
. Added Normalizer::getRawDecomposition() and normalizer_get_raw_decomposition(),
427429
to retrieve the Decomposition_Mapping property of a character.
428430

431+
LDAP:
432+
. Added ldap_exop_refresh() to conveniently perform a Refresh extended
433+
operation.
434+
429435
OpenSSL:
430436
. Added openssl_pkey_derive that derives a shared secret for DH, ECDH and
431437
possibly other future algorithms supported by EVP_PKEY_derive.
@@ -484,7 +490,7 @@ JSON:
484490
is fully backward compatible with former PHP versions.
485491
. FILTER_SANITIZE_ADD_SLASHES has been added as an alias of the 'magic_quotes'
486492
filter (FILTER_SANITIZE_MAGIC_QUOTES). The 'magic_quotes' filter is subject
487-
to removal in future versions of PHP.
493+
to removal in future versions of PHP.
488494

489495
FTP:
490496
. Set default transfer mode to binary
@@ -506,12 +512,22 @@ JSON:
506512
related constants for possible TLS protocol values have been added.
507513
See <https://github.com/php/php-src/pull/3317>.
508514

509-
PCRE:
515+
PCRE:
510516
. The PCRE extension has been upgraded to PCRE2, which may cause minor
511517
behavioral changes (for instance, character ranges in classes are now more
512518
strictly interpreted), and augments the existing regular expression syntax.
513519
See <https://wiki.php.net/rfc/pcre2-migration> for details.
514520

521+
PDO_DBLIB:
522+
. Added the attribute PDO::DBLIB_ATTR_SKIP_EMPTY_ROWSETS to enable automatic
523+
skipping of empty rowsets.
524+
. Exposed the TDS version via the PDO::DBLIB_ATTR_TDS_VERSION attribute.
525+
. DATETIME2 columns are now treated like DATETIME columns.
526+
527+
PDO_SQLite:
528+
. SQLite3 databases can now be opened in read-only mode by setting the
529+
new PDO::SQLITE_ATTR_OPEN_FLAGS attribute to PDO::SQLITE_READONLY.
530+
515531
Standard:
516532
. var_export() now exports stdClass objects as an array casted to an object
517533
(`(object) array( ... )`), rather than using the nonexistent method
@@ -531,6 +547,10 @@ PCRE:
531547
. Building against the bundled libzip is discouraged, but still possible by
532548
adding `--without-libzip` to the configuration.
533549

550+
zlib:
551+
. Added the zlib/level context option for the compress.zlib wrapper to
552+
facilitate setting the desired compression level.
553+
534554
========================================
535555
10. New Global Constants
536556
========================================
@@ -608,19 +628,26 @@ Curl:
608628
. CURL_VERSION_GSSNEGOTIATE
609629
. CURL_VERSION_HTTPS_PROXY
610630
. CURL_VERSION_IDN
611-
. CURL_VERSION_KERBEROS5
612631
. CURL_VERSION_LARGEFILE
613632
. CURL_VERSION_MULTI_SSL
614633
. CURL_VERSION_NTLM
615634
. CURL_VERSION_NTLM_WB
616635
. CURL_VERSION_SPNEGO
617636
. CURL_VERSION_SSPI
618637
. CURL_VERSION_TLSAUTH_SRP
619-
. CURL_VERSION_UNIX_SOCKETS
638+
639+
Filter:
640+
. FILTER_SANITIZE_ADD_SLASHES
620641

621642
JSON:
622643
. JSON_THROW_ON_ERROR
623644

645+
OpenSSL:
646+
. STREAM_CRYPTO_PROTO_SSLv3
647+
. STREAM_CRYPTO_PROTO_TLSv1_0
648+
. STREAM_CRYPTO_PROTO_TLSv1_1
649+
. STREAM_CRYPTO_PROTO_TLSv1_2
650+
624651
MBString:
625652
. MB_CASE_FOLD
626653
. MB_CASE_LOWER_SIMPLE
@@ -712,3 +739,7 @@ LDAP:
712739
========================================
713740
13. Other Changes
714741
========================================
742+
743+
. The cyclic GC has been enhanced, which may result in considerable performance
744+
improvements.
745+

0 commit comments

Comments
 (0)