History log of /php-src/UPGRADING (Results 1 – 25 of 1591)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# afd91fb9 28-Apr-2024 Máté Kocsis

Migrate ext/odbc resources to opaque objects (#12040)

Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>


# d5d227a4 28-Apr-2024 David CARLIER

[ci skip] ext/sockets: followup on #14065. (#14066)

freebsd supports SO_NOSIGPIPE too.


# b147a22b 28-Apr-2024 David Carlier

ext/sockets: adding SO_NOSIGPIPE constant.

it s the macOs way to disable the SIGPIPE signal emission, same
as doing `signal(SIGPIPE, SIG_IGN)` but on the socket level.

Close GH

ext/sockets: adding SO_NOSIGPIPE constant.

it s the macOs way to disable the SIGPIPE signal emission, same
as doing `signal(SIGPIPE, SIG_IGN)` but on the socket level.

Close GH-14065

show more ...


# f68d7252 23-Apr-2024 Gina Peter Banyard

UPGRADING


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

[ci skip] UPGRADING


# 6d285e3d 23-Apr-2024 Arnaud Le Blanc

[ci skip] UPGRADING


# 3a300e92 19-Apr-2024 David Carlier

ext/pcntl: signals list update for dragonflybsd related to checkpoint.

- SIGCKPT checkpoint and continue.
- SIGCKPTEXIT checkpoint and exit.

Close GH-14011


# 3f0b204f 08-Apr-2024 Laurent Arnoud

cli: allow to change ~/.php_history with PHP_HISTFILE

Closes GH-13313


# 7428a92c 20-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] Be more specific about ext-dom incompatibilities in UPGRADING (#14024)

The previous text was put there before I decided to add the new classes.
Therefore the only new feature t

[ci skip] Be more specific about ext-dom incompatibilities in UPGRADING (#14024)

The previous text was put there before I decided to add the new classes.
Therefore the only new feature that can affect BC is
compareDocumentPosition(). Only when the declaration is incompatible can
the user experience errors.

show more ...


# e23440e5 11-Mar-2024 Ilija Tovilo

Implement reflection constant

Fixes GH-13570
Closes GH-13669


# 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 ...


# 6df8111a 14-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] UPGRADING

Reorganize performance section.
Add performance entry 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 ...


# 843946a8 11-Apr-2024 Máté Kocsis

Add upgrading note for the "Dedicated StreamBucket class" RFC

[skip-ci]


# 4a0ec3de 10-Apr-2024 Máté Kocsis

Make ext/odbc default value handling more consistent (#13910)

These changes are carved off from https://github.com/php/php-src/pull/12040/files. I noticed that there are some inconsistencies

Make ext/odbc default value handling more consistent (#13910)

These changes are carved off from https://github.com/php/php-src/pull/12040/files. I noticed that there are some inconsistencies between odbc_fetch_object()/odbc_fetch_array(), odbc_fetch_into(), as well as odbc_fetch_row(), specifically in how they handle the $row parameter. Now, I tried to align their behaviour the following way:

- I made null the default value. Previously, the default values were one of the following: -1, -1, 0, and null, respectively.
- odbc_fetch_row() has been returning false indicating there is no more rows when 0 is passed as $row. Now, a warning is also emitted in this case, because the null default value is not new, because it's available since PHP 8.0.
- When HAVE_SQL_EXTENDED_FETCH is not defined, the $row parameter is always ignored. Previously, some of the functions didn't accept it at all. Now a warning is emitted if the feature is not supported, but the parameter has any meaningful value (is greater than or equal to 1).

show more ...


# 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 ...


# fc14f17a 10-Apr-2024 Saki Takamachi

remove ZWSP


# 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


# 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 ...


# 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 ...


# 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


# 30885f3b 31-Mar-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement request #71571: XSLT processor should provide option to change maxDepth (#13731)

There are two depth limiting parameters for XSLT templates.
1) maxTemplateDepth
This cor

Implement request #71571: XSLT processor should provide option to change maxDepth (#13731)

There are two depth limiting parameters for XSLT templates.
1) maxTemplateDepth
This corresponds to the recursion depth of a template. For very
complicated templates this can be hit.
2) maxTemplateVars
This is the total number of live variables. When using recursive
templates with lots of parameters you can hit this limit.

This patch introduces two new properties to XSLTProcessor that
corresponds to the above variables.

show more ...


# b82024b1 26-Mar-2024 David Carlier

ext/sockets: adding Linux's TCP_SYNCNT constant.

Useful to control how many SYN packets the client will send to the
server before giving up establishing a connection if the server does

ext/sockets: adding Linux's TCP_SYNCNT constant.

Useful to control how many SYN packets the client will send to the
server before giving up establishing a connection if the server does
not respond (usually 5 or 6 by default).

Close GH-13816

show more ...


12345678910>>...64