Skip to content

Commit 5ac4d44

Browse files
committed
Merge branch 'master' into uri-construct-leak-modify
2 parents f1a2060 + 3290197 commit 5ac4d44

37 files changed

+321
-664
lines changed

NEWS

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3-
?? ??? ????, PHP 8.5.0beta3
3+
?? ??? ????, PHP 8.5.0RC1
4+
5+
6+
11 Sep 2025, PHP 8.5.0beta3
47

58
- Core:
69
. Destructing non-array values (other than NULL) using [] or list() now
@@ -13,6 +16,8 @@ PHP NEWS
1316
deprecated. (alexandre-daubois)
1417
. Fixed bug GH-19681 (PHP_EXPAND_PATH broken with bash 5.3.0). (Remi)
1518
. Marks the stack as non-executable on Haiku. (David Carlier)
19+
. Deriving $_SERVER['argc'] and $_SERVER['argv'] from the query string is
20+
now deprecated. (timwolla, nicolasgrekas)
1621

1722
- CLI:
1823
. Fixed bug GH-19461 (Improve error message on listening error with IPv6
@@ -39,6 +44,9 @@ PHP NEWS
3944
. Fixed bug GH-11952 (Fix locale strings canonicalization for IntlDateFormatter
4045
and NumberFormatter). (alexandre-daubois)
4146

47+
- ODBC:
48+
. Removed driver-specific build flags and support. (Calvin Buckley)
49+
4250
- Opcache:
4351
. Fixed bug GH-19486 (Incorrect opline after deoptimization). (Arnaud)
4452
. Fixed bug GH-19601 (Wrong JIT stack setup on aarch64/clang). (Arnaud)
@@ -87,6 +95,8 @@ PHP NEWS
8795
(timwolla)
8896
. Return null instead of 0 for Uri\Rfc3986\Uri::getPort() when the
8997
URI contains an empty port. (timwolla)
98+
. Fixed creation of the InvalidUrlException when not passing an
99+
errors zval to the internal whatwg parser. (timwolla)
90100
. Clean up naming of internal API. (timwolla)
91101

92102
28 Aug 2025, PHP 8.5.0beta2

UPGRADING

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ PHP 8.5 UPGRADE NOTES
9191
- ODBC:
9292
. ODBC now assumes that at least ODBC 3.5 functionality is available. The
9393
ODBCVER definition and build system flags to control it have been removed.
94+
. ODBC no longer has build flags to build against specific drivers (except
95+
for DB2) and removes special cases for those drivers. It is strongly
96+
recommended to use a driver manager like iODBC or unixODBC on non-Windows.
9497

9598
- Opcache:
9699
. The Opcache extension is now always built into the PHP binary and is always
@@ -384,6 +387,11 @@ PHP 8.5 UPGRADE NOTES
384387
. Using null as an array offset or when calling array_key_exists() is now
385388
deprecated. Instead an empty string should be used.
386389
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_using_values_null_as_an_array_offset_and_when_calling_array_key_exists
390+
. Deriving $_SERVER['argc'] and $_SERVER['argv'] from the query string for non-CLI
391+
SAPIs has been deprecated. Configure register_argc_argv=0 and switch to either
392+
$_GET or $_SERVER['QUERY_STRING'] to access the information, after verifying
393+
that the usage is safe.
394+
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_register_argc_argv_ini_directive
387395

388396
- Curl:
389397
. The curl_close() function has been deprecated, as CurlHandle objects are

ext/intl/dateformat/dateformat_create.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ static zend_result datefmt_ctor(INTERNAL_FUNCTION_PARAMETERS)
115115
locale = Locale::createFromName(final_locale);
116116
/* get*Name accessors being set does not preclude being bogus */
117117
if (locale.isBogus() || ((locale_len == 1 && locale_str[0] != 'C') || (locale_len > 1 && strlen(locale.getISO3Language()) == 0))) {
118-
zend_argument_value_error(1, "\"%s\" is invalid", locale_str);
119-
return FAILURE;
118+
zend_argument_value_error(1, "\"%s\" is invalid", locale_str);
119+
goto error;
120120
}
121121

122122
/* process calendar */

ext/intl/tests/gh11942_datefmt_locale_canonicalization.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Fix GH-11942: IntlDateFormatter should canonicalize locale strings
2+
GH-11942 (IntlDateFormatter should canonicalize locale strings)
33
--EXTENSIONS--
44
intl
55
--FILE--

ext/intl/tests/gh11942_numfmt_locale_canonicalization.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Fix GH-11942: NumberFormatter should canonicalize locale strings
2+
GH-11942 (NumberFormatter should canonicalize locale strings)
33
--EXTENSIONS--
44
intl
55
--FILE--

0 commit comments

Comments
 (0)