History log of /php-src/NEWS (Results 1576 – 1600 of 15466)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 822881b6 02-Aug-2022 Tim Düsterhus

[ci skip] Move the removal of the RuntimeException in ext/random to Beta 3

Didn't realize that Beta 2 was tagged before merging GH-9211 /
54e406cc509b400de17fbb331c7373b2bb9e3a34.

# 54e406cc 02-Aug-2022 Tim Düsterhus

Clean up nested exceptions without value-add in ext/random (#9211)

* Remove exception in Randomizer::shuffleBytes()

The only way that `php_binary_string_shuffle` fails is when the e

Clean up nested exceptions without value-add in ext/random (#9211)

* Remove exception in Randomizer::shuffleBytes()

The only way that `php_binary_string_shuffle` fails is when the engine itself
fails. With the currently available list of engines we have:

- Mt19937 : Infallible.
- PcgOneseq128XslRr64: Infallible.
- Xoshiro256StarStar : Infallible.
- Secure : Practically infallible on modern systems.
Exception messages were cleaned up in GH-9169.
- User : Error when returning an empty string.
Error when seriously biased (range() fails).
And whatever Throwable the userland developer decides to use.

So the existing engines are either infallible or throw an Exception/Error with
a high quality message themselves, making this exception not a value-add and
possibly confusing.

* Remove exception in Randomizer::shuffleArray()

Same reasoning as in the previous commit applies.

* Remove exception in Randomizer::getInt()

Same reasoning as in the previous commit applies.

* Remove exception in Randomizer::nextInt()

Same reasoning as in the previous commit applies, except that it won't throw on
a seriously biased user engine, as `range()` is not used.

* Remove exception in Randomizer::getBytes()

Same reasoning as in the previous commit applies.

* Remove exception in Mt19937::generate()

This implementation is shared across all native engines. Thus the same
reasoning as the previous commits applies, except that the User engine does not
use this method. Thus is only applicable to the Secure engine, which is the
only fallible native engine.

* [ci skip] Add cleanup of Randomizer exceptions to NEWS

show more ...

# 6a7fd48a 02-Aug-2022 Sergey Panteleev

[ci skip] Update NEWS for PHP 8.2.0 beta3

# a08ffc70 02-Aug-2022 Gabriel Caruso

[ci-skip] Fix for bug #80047 was included in previous release

We are removing the entry in 8.0.23, as the fix was included
in the 8.0.22 release. Given that an entry already exists, we

[ci-skip] Fix for bug #80047 was included in previous release

We are removing the entry in 8.0.23, as the fix was included
in the 8.0.22 release. Given that an entry already exists, we
are just deleting extra lines.

show more ...

# 5d5d9796 01-Aug-2022 Arnaud Le Blanc

[ci skip] NEWS

# 832e0ef3 01-Aug-2022 Arnaud Le Blanc

[ci skip] NEWS

# 5e518c05 01-Aug-2022 Tim Düsterhus

[ci skip] Move 'Core' into the correct alphabetical order in NEWS

see f957e3e7f17eac6e9195557f3fa79934f823fd38

# 09e261e3 01-Aug-2022 Tim Düsterhus

[ci skip] Update NEWS for ext/random

This adds 50bd8ba51c0ea98ce82107e645f2f98c3e730a2a and fixes the formatting for
two other entries.

# 4e92c746 30-Jul-2022 zeriyoshi

random: split Randomizer::getInt() without argument to Randomizer::nextInt()

Since argument overloading is not safe for reflection, the method needed
to be split appropriately.

random: split Randomizer::getInt() without argument to Randomizer::nextInt()

Since argument overloading is not safe for reflection, the method needed
to be split appropriately.

Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>

Closes GH-9057.

show more ...

# dd9f4775 27-Jul-2022 Nicolas Grekas

Declare Transliterator::$id as readonly to unlock subclassing it

Closes GH-9167.

# f957e3e7 22-Jul-2022 Ilija Tovilo

Fix arrow function with never return type

Fixes GH-7900
Closes GH-9103

# 565a416e 28-Jul-2022 Ilija Tovilo

Fix attribute target validation on fake closures

Fixes GH-8982
Closes GH-9173

# a50499bb 28-Jul-2022 Derick Rethans

Merge branch 'PHP-8.1'


# a0c01f38 28-Jul-2022 Derick Rethans

Add test case for GH-9601: DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0

# 1a9e6895 24-Jul-2022 Jakub Zelenka

Fix #65069: GlobIterator incorrect handling of open_basedir check

This PR changes the glob stream wrapper so it impacts "glob://"
streamsas well. The idea is to do a check for each found

Fix #65069: GlobIterator incorrect handling of open_basedir check

This PR changes the glob stream wrapper so it impacts "glob://"
streamsas well. The idea is to do a check for each found path instead
of the pattern which was not working correctly.

show more ...

# 001e7dbb 28-Jul-2022 Derick Rethans

Fixed bug #80047 (DatePeriod doesn't warn with custom DateTimeImmutable)

# 520bb2ec 22-Jul-2022 jcm

Fix get/set priority - error handling for MacOS and extra tests

Closes GH-9044.

# ca84d06b 27-Jul-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-9032: SQLite3 authorizer crashes on NULL values


# 8ed21a89 18-Jul-2022 Christoph M. Becker

Fix GH-9032: SQLite3 authorizer crashes on NULL values

The arguments 3 to 6 of the authorizer callback may be `NULL`[1], and
we have to properly deal with that. Instead of causing a seg

Fix GH-9032: SQLite3 authorizer crashes on NULL values

The arguments 3 to 6 of the authorizer callback may be `NULL`[1], and
we have to properly deal with that. Instead of causing a segfault, we
deny authorization, which is still better than a crash, and apparently,
we cannot do better anyway.

[1] <https://www.sqlite.org/c3ref/set_authorizer.html>

Closes GH-9040.

show more ...

# cf1664e9 27-Jul-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-9155: dba_open("non-existing", "c-", "flatfile") segfaults


# a442e294 26-Jul-2022 Christoph M. Becker

Fix GH-9155: dba_open("non-existing", "c-", "flatfile") segfaults

We must not assume that the lock file has been opened.

Closes GH-9156.

# 8cf9c2f2 22-Jul-2022 Adam Saponara

Fix GH-9090: Support assigning function pointers in FFI

Closes GH-9107.

# d058acb4 27-Jul-2022 Tim Düsterhus

Use ValueError if an invalid mode is passed to Mt19937 (#9159)

# 5d52d472 26-Jul-2022 Christoph M. Becker

Fix #69181: READ_CSV|DROP_NEW_LINE drops newlines within fields

One may argue that `DROP_NEW_LINE` does not make sense in combination
with `READ_CSV`, but without `DROP_NEW_LINE`, `SKIP_

Fix #69181: READ_CSV|DROP_NEW_LINE drops newlines within fields

One may argue that `DROP_NEW_LINE` does not make sense in combination
with `READ_CSV`, but without `DROP_NEW_LINE`, `SKIP_EMPTY` does not
skip empty lines at all. We could fix that, but do not for BC reasons.
Instead we no longer drop newlines in `spl_filesystem_file_read_ex()`
when reading CSV, but handle that in `spl_filesystem_file_read_csv()`
by treating lines with only (CR)LF as being empty as well.

Closes GH-7618.

show more ...

# 9090e260 11-Mar-2022 David Carlier

sockets ext for solaris update.

socket filter support, system can support up to 32 filters giving the possibility to retrive the full list.
Closes #8191.

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