53
53
case "baz":
54
54
continue;
55
55
// 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"?
57
57
}
58
58
}
59
59
@@ -397,6 +397,8 @@ Core:
397
397
are available under Linux, FreeBSD, Windows, Mac, SunOS, AIX and their
398
398
derivatives. If no required timers are provided by a corresponding
399
399
platform, the function returns false.
400
+ . Added net_get_interfaces() to retrieve an array of available network
401
+ interfaces including several details.
400
402
401
403
Date:
402
404
. Added the DateTime::createFromImmutable() method, which mirrors
@@ -426,6 +428,10 @@ Intl:
426
428
. Added Normalizer::getRawDecomposition() and normalizer_get_raw_decomposition(),
427
429
to retrieve the Decomposition_Mapping property of a character.
428
430
431
+ LDAP:
432
+ . Added ldap_exop_refresh() to conveniently perform a Refresh extended
433
+ operation.
434
+
429
435
OpenSSL:
430
436
. Added openssl_pkey_derive that derives a shared secret for DH, ECDH and
431
437
possibly other future algorithms supported by EVP_PKEY_derive.
@@ -484,7 +490,7 @@ JSON:
484
490
is fully backward compatible with former PHP versions.
485
491
. FILTER_SANITIZE_ADD_SLASHES has been added as an alias of the 'magic_quotes'
486
492
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.
488
494
489
495
FTP:
490
496
. Set default transfer mode to binary
@@ -506,12 +512,22 @@ JSON:
506
512
related constants for possible TLS protocol values have been added.
507
513
See <https://github.com/php/php-src/pull/3317>.
508
514
509
- PCRE:
515
+ PCRE:
510
516
. The PCRE extension has been upgraded to PCRE2, which may cause minor
511
517
behavioral changes (for instance, character ranges in classes are now more
512
518
strictly interpreted), and augments the existing regular expression syntax.
513
519
See <https://wiki.php.net/rfc/pcre2-migration> for details.
514
520
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
+
515
531
Standard:
516
532
. var_export() now exports stdClass objects as an array casted to an object
517
533
(`(object) array( ... )`), rather than using the nonexistent method
@@ -531,6 +547,10 @@ PCRE:
531
547
. Building against the bundled libzip is discouraged, but still possible by
532
548
adding `--without-libzip` to the configuration.
533
549
550
+ zlib:
551
+ . Added the zlib/level context option for the compress.zlib wrapper to
552
+ facilitate setting the desired compression level.
553
+
534
554
========================================
535
555
10. New Global Constants
536
556
========================================
@@ -608,19 +628,26 @@ Curl:
608
628
. CURL_VERSION_GSSNEGOTIATE
609
629
. CURL_VERSION_HTTPS_PROXY
610
630
. CURL_VERSION_IDN
611
- . CURL_VERSION_KERBEROS5
612
631
. CURL_VERSION_LARGEFILE
613
632
. CURL_VERSION_MULTI_SSL
614
633
. CURL_VERSION_NTLM
615
634
. CURL_VERSION_NTLM_WB
616
635
. CURL_VERSION_SPNEGO
617
636
. CURL_VERSION_SSPI
618
637
. CURL_VERSION_TLSAUTH_SRP
619
- . CURL_VERSION_UNIX_SOCKETS
638
+
639
+ Filter:
640
+ . FILTER_SANITIZE_ADD_SLASHES
620
641
621
642
JSON:
622
643
. JSON_THROW_ON_ERROR
623
644
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
+
624
651
MBString:
625
652
. MB_CASE_FOLD
626
653
. MB_CASE_LOWER_SIMPLE
@@ -712,3 +739,7 @@ LDAP:
712
739
========================================
713
740
13. Other Changes
714
741
========================================
742
+
743
+ . The cyclic GC has been enhanced, which may result in considerable performance
744
+ improvements.
745
+
0 commit comments