History log of /php-src/NEWS (Results 26 – 50 of 14907)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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


# 85d62124 08-Apr-2024 Arnaud Le Blanc

[ci skip] NEWS


# 2aae14c8 05-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13860: Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in ext/openssl/xp_ssl.c - causing use of dead socket

php_socket_errno() may return a stale value when recv returns a
value >

Fix GH-13860: Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in ext/openssl/xp_ssl.c - causing use of dead socket

php_socket_errno() may return a stale value when recv returns a
value >= 0. As such, the liveness check is wrong.
This is the same bug as #70198 (fixed in GH-1456). So we fix it in the
same way.

Closes GH-13895.

show more ...


# d8f290057 07-Apr-2024 David Carlier

ext/pcntl: adding pcntl_getcpu.

using sched_getcpu under the hood (Linux and FreeBSD).
Returns the current cpu id for the current process.
For Linux, we need to see beyond the sole p

ext/pcntl: adding pcntl_getcpu.

using sched_getcpu under the hood (Linux and FreeBSD).
Returns the current cpu id for the current process.
For Linux, we need to see beyond the sole presence of the symbol
to consider it.
Mostly useful, for now, in the cpu affinity context since
the os can migrate processes as it sees fits otherwise.

Clos GH-13908

show more ...


# 01817e99 07-Apr-2024 David Carlier

ext/pcntl pcntl_signal_get_handler update.

The situation varies from platform to another, thus taking in
account the complexity of it.

Close GH-13902


# 1cf8291c 05-Apr-2024 David Carlier

ext/pcntl: cpu affinity api introduction.

For now, working on Linux, FreeBSD >= 13.x and DragonFlyBSD.
Handy wrapper to assign an array of cpu ids or to retrieve the cpu ids
assigned

ext/pcntl: cpu affinity api introduction.

For now, working on Linux, FreeBSD >= 13.x and DragonFlyBSD.
Handy wrapper to assign an array of cpu ids or to retrieve the cpu ids
assigned to a given process.

pcntl_setaffinity inserts valid unique cpu ids (within the range of available
cpus).

Close GH-13893

show more ...


# 8367e9cc 06-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS


# ae4978a1 03-Apr-2024 David Carlier

ext/pcntl: adding pcntl_setns for Linux >= 5.3

allows a given process to join an existing Linux namespace, relatively
complementary to the existing pcntl_unshare.

Close GH-13878


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

[ci skip] NEWS


12345678910>>...597