History log of /php-src/NEWS (Results 1501 – 1525 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 840ea641 02-Sep-2022 Arnaud Le Blanc

[ci skip] NEWS


# 6deddd39 02-Sep-2022 Arnaud Le Blanc

[ci skip] NEWS


# 6aedc5ea 02-Sep-2022 Arnaud Le Blanc

[ci skip] NEWS


# 2cfb028e 01-Sep-2022 Ilija Tovilo

Fix class name FQN when AST dumping new and class const

Fixes GH-9447
Closes GH-9462


# 327c9523 30-Aug-2022 Pierrick Charron

Prepare for PHP 8.3

# 853181a1 30-Aug-2022 Christoph M. Becker

Add NEWS and UPGRADING entries for GH-9296

# adb45a63 30-Aug-2022 Máté Kocsis

Fix GH-9186 @strict-properties can be bypassed using unserialization (#9354)

* Emit deprecation warnings when adding dynamic properties to classes during unserialization - this will become a

Fix GH-9186 @strict-properties can be bypassed using unserialization (#9354)

* Emit deprecation warnings when adding dynamic properties to classes during unserialization - this will become an Error in php 9.0.
(Adding dynamic properties in other contexts was already a deprecation warning - the use case of unserialization was overlooked)
* Throw an error when attempting to add a dynamic property to a `readonly` class when unserializing
* Add new serialization methods `__serialize`/`__unserialize` for SplFixedArray to avoid creating deprecated dynamic
properties that would then be added to the backing fixed-size array
* Don't add named dynamic/declared properties (e.g. $obj->foo) of SplFixedArray to the backing array when unserializing
* Update tests to declare properties or to expect the deprecation warning
* Add news entry

Co-authored-by: Tyson Andre <tysonandre775@hotmail.com>

show more ...

# f3a14d1b 23-Aug-2022 Calvin Buckley

Fix GH-9347: Current ODBC liveness checks may be inadequate

We implement SQL_ATTR_CONNECTION_DEAD for ODBC and PDO_ODBC.

This is semantically appropriate and should be used whenever

Fix GH-9347: Current ODBC liveness checks may be inadequate

We implement SQL_ATTR_CONNECTION_DEAD for ODBC and PDO_ODBC.

This is semantically appropriate and should be used whenever the
driver supports it. In the event that it fails or says the connection
isn't dead (which may be inaccurate in some cases), try the old
heuristic.

Closes GH-9353.

show more ...

# 932586c4 29-Aug-2022 Derick Rethans

Fixed bug GH-9431: DateTime::getLastErrors() not returning false when no errors/warnings

For PHP 8.2 and later only.

# 386a0447 28-Aug-2022 Markus Staab

[ci skip] Fix typo (requst → request)

Closes GH-9443.

# 5e9af0d0 28-Aug-2022 Jakub Zelenka

Update NEWS for CLI built-in server changes

# 11796229 21-Jan-2022 Tim Starling

Add libxml_get_external_entity_loader()

Add libxml_get_external_entity_loader(), which returns the currently
installed external entity loader, i.e. the value which was passed to
libx

Add libxml_get_external_entity_loader()

Add libxml_get_external_entity_loader(), which returns the currently
installed external entity loader, i.e. the value which was passed to
libxml_set_external_entity_loader() or null if no loader was installed
and the default entity loader will be used.

This allows libraries to save and restore the loader, controlling entity
expansion without interfering with the rest of the application.

Add macro Z_PARAM_FUNC_OR_NULL_WITH_ZVAL(). This allows us to get the
zval for a callable parameter without duplicating callable argument
parsing.

The saved zval keeps the object needed for fcc/fci alive, simplifying
memory management.

Fixes #76763.

show more ...

# 35e2a25d 18-Aug-2022 Jakub Zelenka

Add openssl_cipher_key_length function

This function works in exactly the same way as openssl_cipher_iv_length
but for a key length. This is especially useful to make sure that the
r

Add openssl_cipher_key_length function

This function works in exactly the same way as openssl_cipher_iv_length
but for a key length. This is especially useful to make sure that the
right key length is provided to openssl_encrypt and openssl_decrypt.

In addtion the change also updates implementation of
openssl_cipher_iv_length and adds a test for it.

show more ...

# 14079688 18-Aug-2022 Jakub Zelenka

Implement FR #76935: OpenSSL chacha20-poly1305 AEAD support

This adds support for ChaCha20-Poly1305 AEAD algorithm so it is possible
to use it in the same way as AES GCM and other AEAD a

Implement FR #76935: OpenSSL chacha20-poly1305 AEAD support

This adds support for ChaCha20-Poly1305 AEAD algorithm so it is possible
to use it in the same way as AES GCM and other AEAD algorithms. This is
available in OpenSSL 1.1.0+.

show more ...

# 505e8d2a 12-Aug-2022 Jakub Zelenka

Fix GH-9310: SSL local_cert and local_pk do not respect open_basedir restriction

# cbb024cb 25-Aug-2022 Tim Düsterhus

Select `rand_rangeXX()` variant only based on the requested range (#9418)

This fixes an incompatibility when wrapping native 32-bit engines with a userland
engine. The latter always used

Select `rand_rangeXX()` variant only based on the requested range (#9418)

This fixes an incompatibility when wrapping native 32-bit engines with a userland
engine. The latter always used the 64-bit range function which then used two
32-bit numbers from the underlying engine to fill the 64-bit range, whereas the
native implementation used only one.

Now the selection of the range variant only depends on the requested range. A
32-bit range uses the 32-bit variant (even for 64-bit engines), whereas a
larger range uses the 64-bit variant.

This was found in https://github.com/php/php-src/pull/9410#discussion_r953213000

show more ...

# e787d9a0 18-Aug-2022 David CARLIER

GH-9370: Fix opcache jit protection bits.

Allow mprotect to occur, pthread_jit_write_np are just to allow mprotect
flags to be used.

Closes #9371.

# 0f696e29 24-Aug-2022 Tim Düsterhus

Fix rand_range32() for umax = UINT32_MAX (#9416)

* Fix rand_range32() for umax = UINT32_MAX

This was introduced in the commit that added the random extension:
4d8dd8d258ff365b14

Fix rand_range32() for umax = UINT32_MAX (#9416)

* Fix rand_range32() for umax = UINT32_MAX

This was introduced in the commit that added the random extension:
4d8dd8d258ff365b146bcadcb277ede8992706d0.

Resolves GH-9415

* [ci skip] Rename `$r` to `$randomizer` in gh9415.phpt

* Make gh9415.phpt deterministic

* Make gh9415.phpt compatible with 32-bit

show more ...

# 08972662 21-Aug-2022 Máté Kocsis

Fix GH-9285 Traits cannot be used in readonly classes

# d766e916 19-Aug-2022 George Peter Banyard

Merge branch 'PHP-8.1'


# eb8ea14c 19-Aug-2022 George Peter Banyard

Merge branch 'PHP-8.0' into PHP-8.1


# d6831e9a 19-Aug-2022 George Peter Banyard

Revert Fixed bug #79451

The fix for 8.1 and above is not identical and I don't know how to fix without breaking the whole build apparently

# a1f5c8a5 16-Aug-2022 Christoph M. Becker

Fix GH-9227: Trailing dots and spaces in filenames are ignored

Given that Windows ignores trailing dots and spaces in filenames, we
catch that ourselves to avoid confusion with the respe

Fix GH-9227: Trailing dots and spaces in filenames are ignored

Given that Windows ignores trailing dots and spaces in filenames, we
catch that ourselves to avoid confusion with the respective filenames
without these characters.

Closes GH-9229.

show more ...

# 6a793535 19-Aug-2022 George Peter Banyard

Merge branch 'PHP-8.1'


# c36a1ea1 19-Aug-2022 George Peter Banyard

Merge branch 'PHP-8.0' into PHP-8.1


1...<<61626364656667686970>>...619