File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,12 @@ PHP NEWS
6
6
. socket_set_option for multicast context throws a ValueError
7
7
when the socket family is not of AF_INET/AF_INET6 family. (David Carlier)
8
8
9
+ - URI:
10
+ . Empty host handling is fixed. (Máté Kocsis)
11
+ . Error handling of Uri\WhatWg\Url::withHost() is fixed when the input
12
+ contains a port. Now, it triggers an exception; previously, the error
13
+ was silently swallowed. (Máté Kocsis)
14
+
9
15
17 Jul 2025, PHP 8.5.0alpha2
10
16
11
17
- Core:
Original file line number Diff line number Diff line change @@ -460,6 +460,13 @@ PHP 8.5 UPGRADE NOTES
460
460
across multiple PHP requests.
461
461
RFC: https://wiki.php.net/rfc/curl_share_persistence_improvement
462
462
463
+ - URI:
464
+ . Uri\UriException, Uri\InvalidUriException, Uri\UriComparisonMode,
465
+ Uri\Rfc3986\Uri, Uri\WhatWg\InvalidUrlException,
466
+ Uri\WhatWg\UrlValidationErrorType, Uri\WhatWg\UrlValidationError,
467
+ and Uri\WhatWg\Url are added.
468
+ RFC: https://wiki.php.net/rfc/url_parsing_api
469
+
463
470
========================================
464
471
8. Removed Extensions and SAPIs
465
472
========================================
@@ -483,6 +490,11 @@ PHP 8.5 UPGRADE NOTES
483
490
library that was separated from ext/dom for being reused among other
484
491
extensions. The new extension is not directly exposed to userland.
485
492
493
+ - URI:
494
+ . An always enabled uri extension is added that can be used for handling
495
+ URIs and URLs according to RFC 3986 and WHATWG URL.
496
+ RFC: https://wiki.php.net/rfc/url_parsing_api
497
+
486
498
- PCRE:
487
499
. Upgraded to pcre2lib from 10.44 to 10.45.
488
500
You can’t perform that action at this time.
0 commit comments