#
d7243ce2 |
| 02-Oct-2020 |
Nikita Popov |
Add UPGRADING note for substr() behavior [ci skip] |
#
550a4f2f |
| 01-Oct-2020 |
Côme Chilliet |
Remove deprecated functions from php-ldap Remove ldap_control_paged_result and ldap_control_paged_result_response which have been deprecated in PHP 7.4, in favor of new $controls p
Remove deprecated functions from php-ldap Remove ldap_control_paged_result and ldap_control_paged_result_response which have been deprecated in PHP 7.4, in favor of new $controls parameters for ldap request functions.
show more ...
|
#
e39ce172 |
| 29-Sep-2020 |
Remi Collet |
bump zip extension version |
#
47a166c8 |
| 23-Sep-2020 |
Christoph M. Becker |
Fix #78792: zlib.output_compression disabled by Content-Type: image/ Disabling output compression for images has served to fix bug #16109, where zlib compressed images apparently have ca
Fix #78792: zlib.output_compression disabled by Content-Type: image/ Disabling output compression for images has served to fix bug #16109, where zlib compressed images apparently have caused issues with Navigator 4. This shouldn't be an issue with somewhat contemporary browsers. Other than that, this is an arbitrary restriction – why don't we disable the compression for some other media types as well (e.g. video/* and audio/*)? All in all, we should leave that decision to userland. Closes GH-6198.
show more ...
|
#
9f5a7718 |
| 27-Sep-2020 |
Christoph M. Becker |
Fix #22986: odbc_connect() may reuse persistent connection `odbc_connect()` should not reuse persistent connections, since that prohibits multiple concurrent connections, which are occas
Fix #22986: odbc_connect() may reuse persistent connection `odbc_connect()` should not reuse persistent connections, since that prohibits multiple concurrent connections, which are occasionally desireable. We fix that by no longer looking for already cached connections when `odbc_connect()` is called, and instead creating a new connection instead. Closes GH-6223.
show more ...
|
#
060fde43 |
| 25-Sep-2020 |
zeriyoshi |
Add call_user_func_array() backward incompatible change Closes GH-6218. [ci skip] |
#
9b50fd26 |
| 17-Sep-2020 |
Máté Kocsis |
Fix UNKNOWN default values in ext/odbc Closes GH-6154 |
#
4222ae16 |
| 11-May-2020 |
Alex Dowad |
SplFixedArray is Aggregate, not Iterable One strange feature of SplFixedArray was that it could not be used in nested foreach loops. If one did so, the inner loop would overwrite the ite
SplFixedArray is Aggregate, not Iterable One strange feature of SplFixedArray was that it could not be used in nested foreach loops. If one did so, the inner loop would overwrite the iteration state of the outer loop. To illustrate: $spl = SplFixedArray::fromArray([0, 1]); foreach ($spl as $a) { foreach ($spl as $b) { echo "$a $b"; } } Would only print two lines: 0 0 0 1 Use the new InternalIterator feature which was introduced in ff19ec2df3 to convert SplFixedArray to an Aggregate rather than Iterable. As a bonus, we get to trim down some ugly code! Yay!
show more ...
|
#
5d7d5e27 |
| 21-Sep-2020 |
George Peter Banyard |
Add proper default values for optional arguments in IMAP Closes GH-6179 |
#
8ff2f2f8 |
| 21-Sep-2020 |
Nikita Popov |
Return empty array for no rows in pg_fetch_all() This makes it line up with pg_fetch_all_columns(), as well as similar functions in other exts, such as mysqli_fetch_all(). |
#
7300f6fc |
| 21-Sep-2020 |
Nikita Popov |
Deprecate pgsql function aliases These have been documentation-deprecated for a very long time, make it official. |
#
5cb8b046 |
| 17-Sep-2020 |
Nikita Popov |
Drop support for libmysqlclient < 5.5 Given how little maintenance the libmysqlclient driver sees, be more aggressive in dropping old version support here. |
#
46d22e43 |
| 16-Sep-2020 |
Máté Kocsis |
Change int parameter types to bool when the parameter behaves as bool Closes GH-6148 |
#
9a6c22da |
| 09-Sep-2020 |
Nikita Popov |
Remove deprecated pgsql signatures As the comment indicates, these are deprecated in PHP 4.2... |
#
3ab88831 |
| 09-Sep-2020 |
Nikita Popov |
Remove deprecated multi-parameter form of pg_connect() |
#
73ab7b30 |
| 08-Sep-2020 |
Nikita Popov |
Allow array_diff() and array_intersect() with single array argument Both of these functions are well-defined when used with a single array argument -- rejecting this case was an artifici
Allow array_diff() and array_intersect() with single array argument Both of these functions are well-defined when used with a single array argument -- rejecting this case was an artificial limitation. This is not useful when called with explicit arguments, but removes edge-cases when used with argument unpacking: // OK even if $excludes is empty. array_diff($array, ...$excludes); // OK even if $arrays contains a single array only. array_intersect(...$arrays); This matches the behavior of functions like array_merge() and array_push(), which also allow calls with no array or a single array respectively. Closes GH-6097.
show more ...
|
#
9975986b |
| 16-Aug-2020 |
Máté Kocsis |
Improve error messages mentioning parameters instead of arguments Closes GH-5999 |
#
3e149427 |
| 08-Sep-2020 |
Nikita Popov |
Require $method parameter in openssl_seal/openssl_open RC4 is considered insecure, and it's not possible to change the default of these functions. As such, require the method to be p
Require $method parameter in openssl_seal/openssl_open RC4 is considered insecure, and it's not possible to change the default of these functions. As such, require the method to be passed explicitly. Closes GH-6093.
show more ...
|
#
032f8621 |
| 07-Sep-2020 |
Nikita Popov |
Drop support for crypt() without explicit salt crypt() without salt generates a weak $1$ MD5 hash. It has been throwing a notice since 2013 and we provide a much better alternative i
Drop support for crypt() without explicit salt crypt() without salt generates a weak $1$ MD5 hash. It has been throwing a notice since 2013 and we provide a much better alternative in password_hash() (which can auto-generate salts for strong password hashes), so keeping this is just a liability.
show more ...
|
#
842be67b |
| 02-Sep-2020 |
Benjamin Eberlei |
Update NEWS, UPGRADING |
#
e6044d44 |
| 06-Aug-2020 |
Christoph M. Becker |
Fix #55847: DOTNET .NET 4.0 GAC new location If we do not specify the exact version of the .NET framework to use, the default CLR is loaded, which is typically CLR 2, which is very old.
Fix #55847: DOTNET .NET 4.0 GAC new location If we do not specify the exact version of the .NET framework to use, the default CLR is loaded, which is typically CLR 2, which is very old. Therefore, we introduce a `PHP_INI_SYSTEM` setting, which allows users to choose the desired .NET framework version. The value of the setting are the first three parts of the framework's version number, separated by dots, and prefixed with "v", e.g. "v4.0.30319". If the value of the INI setting is `NULL` (the default) or an empty string, the default CLR is used. Internally, we switch from the most generic `CoCreateInstance()` to `CorBindToRuntime()` which is implemented in mscoree.dll. To avoid the hard dependency to that library, we load dynamically. So this fix is supposed to be fully backwards compatible. Closes GH-5949
show more ...
|
#
ff66e494 |
| 21-Aug-2020 |
Christopher Jones |
OCI8 classes were already renamed in 8; this now follows the new-new standard |
#
9883fec9 |
| 18-Aug-2020 |
Tyson Andre |
Fix more basic function stubs User-defined functions can't have multiple parameters with the same name. Don't do that for var_dump/debug_zval_dump. Consistently use array $array
Fix more basic function stubs User-defined functions can't have multiple parameters with the same name. Don't do that for var_dump/debug_zval_dump. Consistently use array $array to match docs Fix typo in UPGRADING Fixes GH-6015
show more ...
|
#
4514afc1 |
| 18-Aug-2020 |
Christoph M. Becker |
Fix #79988: new reserved keyword `match` is a backward incompatible change |
#
e81ad408 |
| 10-Aug-2020 |
Nikita Popov |
Expand upgrading note for namespaced name change Mention the case from bug #79942. [ci skip] |