History log of /php-src/NEWS (Results 1 – 25 of 14890)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# fda91a05 17-Apr-2024 Saki Takamachi

Fix GH-13984: Buffer size is now checked before memcmp (#13991)

Fixed an issue where a buffer overflow occurred when a string shorter than
`:memory:` was passed as the db name of pdo_sql

Fix GH-13984: Buffer size is now checked before memcmp (#13991)

Fixed an issue where a buffer overflow occurred when a string shorter than
`:memory:` was passed as the db name of pdo_sqlite.

fixed #13984
closes #13991

show more ...


# 1acd7a09 17-Apr-2024 Ilija Tovilo

Add missing COMPILE_IGNORE_OTHER_FILES check for static calls

Closes GH-13986


# 812d19d6 16-Apr-2024 Arnaud Le Blanc

[ci skip] NEWS


# d47aaacf 16-Apr-2024 Arnaud Le Blanc

[ci skip] NEWS


# d4072667 11-Apr-2024 David Carlier

ext/pcntl: pcntl_getqos_class/pcntl_setqos_class addition.

Introducting macOs Quality Of Service through those two calls.
on macOs arm64/M*, there is no concept of individual cores, thus

ext/pcntl: pcntl_getqos_class/pcntl_setqos_class addition.

Introducting macOs Quality Of Service through those two calls.
on macOs arm64/M*, there is no concept of individual cores, thus
the old thread policy for cpu affinity does not work here.
Instead, the user can apply to the current process the level of
performance/energy consumption they wish from the highest
QosClass::UserInteractive to QosClass::Background.

Close GH-13945

show more ...


# c3acfb1b 10-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13931: Applying zero offset to null pointer in Zend/zend_opcode.c

In the test cases, the compiler bails out due to a fatal error.
The data structures used by the compiler will con

Fix GH-13931: Applying zero offset to null pointer in Zend/zend_opcode.c

In the test cases, the compiler bails out due to a fatal error.
The data structures used by the compiler will contain stale values.
In particular, for the test case CG(loop_var_stack) will contain data.
The next compilation will incorrectly use elements from the previous
stack.
To solve this, we reset part of the compiler data structures.
We don't do a full re-initialization via init_compiler() because that will
also reset streams and resources.

Closes GH-13938.

show more ...


# 8421cfda 12-Apr-2024 Damian Wójcik

Fix file_get_contents() on Windows fails with "errno=22 Invalid argument"

Closes GH-13948


# 72b2524c 12-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS

News for GH-13041.


# 08b2ab22 12-Apr-2024 Tim Düsterhus

Include the source location in Closure names (#13550)

* Include the source location in Closure names

This change makes stack traces involving Closures, especially multiple
diffe

Include the source location in Closure names (#13550)

* Include the source location in Closure names

This change makes stack traces involving Closures, especially multiple
different Closures, much more useful, because it's more easily visible *which*
closure was called for a given stack frame.

The implementation is similar to that of anonymous classes which already
include the file name and line number within their generated classname.

* Update scripts/dev/bless_tests.php for closure naming

* Adjust existing tests for closure naming

* Adjust tests for closure naming that were not caught locally

* Drop the namespace from closure names

This is redundant with the included filename.

* Include filename and line number as separate keys in Closure debug info

* Fix test

* Fix test

* Include the surrounding class and function name in closure names

* Fix test

* Relax test expecations

* Fix tests after merge

* NEWS / UPGRADING

show more ...


# 3b93f131 12-Apr-2024 Jakub Zelenka

Revert "ext/mysqlnd: support ER_CLIENT_INTERACTION_TIMEOUT"

This reverts commit 5035b8509016c4cf2cda883b4d3f245054a71626.

This broke Doctrine DBAL tests - more discussion in GH-1361

Revert "ext/mysqlnd: support ER_CLIENT_INTERACTION_TIMEOUT"

This reverts commit 5035b8509016c4cf2cda883b4d3f245054a71626.

This broke Doctrine DBAL tests - more discussion in GH-13618.

show more ...


# 4ded2476 10-Apr-2024 Michael Orlitzky

ext/fileinfo/tests/bug78987.phpt: increase a memory limit

This test performs a few checks to ensure that "not too much" memory
is used while fileinfo is detecting encodings. It is howeve

ext/fileinfo/tests/bug78987.phpt: increase a memory limit

This test performs a few checks to ensure that "not too much" memory
is used while fileinfo is detecting encodings. It is however platform
specific, and memory usage varies across hosts and as libmagic changes.

Recently a Gentoo user reported a failure in this test at,

https://bugs.gentoo.org/927461

on a big-endian PPC64 machine with output,

---- EXPECTED OUTPUT
131072 => ok
262144 => ok
524288 => ok
1048576 => ok
2097152 => ok
4194304 => ok
8388608 => ok
16777216 => ok
---- ACTUAL OUTPUT
131072 => 10092544
262144 => 10092544
524288 => 12189696
1048576 => 12189696
2097152 => 14352384
4194304 => 18612224
8388608 => 24903680
16777216 => 37486592
---- FAILED

Those numbers are with 8.3.4 and therefore missing commit b7c5813c
which also raises the limits. Checking the "actual" numbers above
against the current values, we see that the limit for 524288 would
need to be bumped to 12189696 to allow this test to pass. Since that
seems reasonable, that's what this commit does.

Closes GH-13795
Closes GH-13940

show more ...


# e2e4e64a 11-Apr-2024 Arnaud Le Blanc

[ci skip] NEWS


# ed84bcd8 11-Apr-2024 Arnaud Le Blanc

[ci skip] NEWS


# 0e16e29b 31-Mar-2024 David Carlier

ext/sockets: socket_create_listen update.

going from 128 to system's SOMAXCONN by default to be able to increase
the queue of connections to be handled.
Also, for Haiku SOMAXCONN is

ext/sockets: socket_create_listen update.

going from 128 to system's SOMAXCONN by default to be able to increase
the queue of connections to be handled.
Also, for Haiku SOMAXCONN is only 32.

Close GH-13854

show more ...


# 44e8301c 02-Mar-2024 Yuya Hamada

Add grapheme_str_split function

I noticed that PHP does not have a grapheme cluster based str_split function.
So I created the grapheme_str_split function.

This feature will all

Add grapheme_str_split function

I noticed that PHP does not have a grapheme cluster based str_split function.
So I created the grapheme_str_split function.

This feature will allow you to correctly handle emoji
and variable selectors.

Co-authored-by: Ayesh Karunaratne <Ayesh@users.noreply.github.com>

Close GH-13580

show more ...


# 5035b850 10-Apr-2024 Appla

ext/mysqlnd: support ER_CLIENT_INTERACTION_TIMEOUT

Closes GH-13618.


# 049082e4 10-Apr-2024 Ben Ramsey

Update NEWS


# de4f7f93 10-Apr-2024 Ben Ramsey

Update NEWS


# 645af9fb 07-Apr-2024 David Carlier

ext/sockets: adding solaris/illumos SO_EXCLBIND constant.

when set to "true", neutralises the effect of SO_REUSEADDR/SO_REUSEPORT
making the socket binding exclusive.

Close GH-1

ext/sockets: adding solaris/illumos SO_EXCLBIND constant.

when set to "true", neutralises the effect of SO_REUSEADDR/SO_REUSEPORT
making the socket binding exclusive.

Close GH-13912

show more ...


# db286934 08-Apr-2024 David Carlier

ext/posix: posix_isatty set errno for it too.

Close GH-13918


# ea026826 08-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13903: ASAN false positive underflow when executing copy()

Closes GH-13917.


# 0766ac6e 01-Apr-2024 qiangxuhui

loongarch64 support for fibers

Add loongarch64 assembly files from Boost, needed for fibers support,
and hook up loongarch64 fibers support during configure.

Close GH-13914


# 6f8bda05 08-Apr-2024 icy17 <1061499390@qq.com>

Fix potential NULL pointer dereference before calling EVP_SignInit

Closes GH-13870.


# af098acd 21-Mar-2024 Bob Weinand

Always load EX(opline) into the current frame in JIT when observers are enabled

Fixes #13772.
Closes #13776.


# 0da1eb5f 08-Apr-2024 Arnaud Le Blanc

[ci skip] NEWS


12345678910>>...596