#
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 ...
|
#
6c5814da |
| 27-Mar-2024 |
Remi Collet |
revert base64_encode change
|
#
dd6e738f |
| 26-Mar-2024 |
Remi Collet |
[ci skip] NEWS for base64_encode
|
#
3de3e137 |
| 25-Feb-2024 |
Ayesh Karunaratne |
ext/openssl: Bump minimum required OpenSSL version to 1.1.1 Bumps the minimum required OpenSSL version from 1.0.2 to 1.1.1. OpenSSL 1.1.1 is an LTS release, but has reached[^1] EOL
ext/openssl: Bump minimum required OpenSSL version to 1.1.1 Bumps the minimum required OpenSSL version from 1.0.2 to 1.1.1. OpenSSL 1.1.1 is an LTS release, but has reached[^1] EOL from upstream. However, Linux distro/OS vendors continue to ship OpenSSL 1.1.1, so 1.1.1 was picked as the minimum. The current minimum 1.0.2 reached EOL in 2018. Bumping the minimum required OpenSSL version makes it possible for ext-openssl to remove a bunch of conditional code, and assume that TLS 1.3 (shipped with OpenSSL 1.1.1) will be supported everywhere. - Debian buster: 1.1.1[^2] - Ubuntu 20.04: 1.1.1[^3] - CentOS/RHEL 7: 1.0.2 - RHEL 8/Rocky 8/EL 8: 1.1.1 - Fedora 38: 3.0.9 (`openssl11` provides OpenSSL 1.1 as well) RHEL/CentOS 7 reaches EOL mid 2024, so for PHP 8.4 scheduled towards the end of this year, we can safely bump the minimum OpenSSL version. [^1]: https://www.openssl.org/blog/blog/2023/03/28/1.1.1-EOL/index.html [^2]: https://packages.debian.org/buster/libssl-dev [^3]: https://packages.ubuntu.com/focal/libssl-dev
show more ...
|
#
6150bf5e |
| 31-Jan-2024 |
haszi |
Fix url_rewriter.hosts not used for output_add_rewrite_var() If fixes issue where session.trans_sid_hosts used instead of url_rewriter.hosts for output_add_rewrite_var(). Closes
Fix url_rewriter.hosts not used for output_add_rewrite_var() If fixes issue where session.trans_sid_hosts used instead of url_rewriter.hosts for output_add_rewrite_var(). Closes GH-13294
show more ...
|
#
4d51bfa2 |
| 20-Mar-2024 |
tekimen |
[RFC] Add mb_ucfirst and mb_lcfirst functions (#13161)
|
#
df725262 |
| 19-Mar-2024 |
Arnaud Le Blanc |
[ci skip] NEWS
|
#
4c467e6e |
| 16-Mar-2024 |
David Carlier |
ext/sockets: adding few constants for NetBSD. SOCK_CONN_DGRAM (and its alias SOCK_DCCP) for connection orientated datagram. Close GH-13728
|
#
330cc5cd |
| 13-Mar-2024 |
Máté Kocsis |
Deprecate implicit nullable parameter types (#12959) RFC: https://wiki.php.net/rfc/deprecate-implicitly-nullable-types Co-authored-by: Gina Peter Banyard <girgias@php.net>
|
#
b3410360 |
| 12-Mar-2024 |
David Carlier |
ext/gettext: updating apis accepting domain behavior. to be more in line with the proper usage ; normally domain should not be empty strings. Close GH-13691
|
#
47949101 |
| 11-Mar-2024 |
Ayesh Karunaratne |
ext/sodium: Add new AEGIS constants to UPGRADING file (#13673) Follow-up to #12867 [ci skip]
|
#
a47849de |
| 09-Mar-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Change return type of hash_update() to true (#13652) It was already the case that this could only return true, update the stubs to reflect that. Closes GH-13614.
|
#
14b6c981 |
| 09-Mar-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
[RFC] Add a way to opt-in ext/dom spec compliance (#13031) RFC: https://wiki.php.net/rfc/opt_in_dom_spec_compliance
|
#
d6d33700 |
| 08-Mar-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement GH-13609: Dump wrapped object in WeakReference class (#13621) I chose "object" as that's also the argument name in WeakReference::create.
|
#
3ddd3413 |
| 07-Mar-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
[ci skip] NEWS and UPGRADING Closes GH-13466.
|
#
dbd976a6 |
| 06-Mar-2024 |
Marc Bennewitz |
Singular DateTime::[get|set]Microsecond & no tentative return type (#13486) * Singular DateTime::[get|set]Microsecond & no tentative return type * Added missing getMicrosecond to Da
Singular DateTime::[get|set]Microsecond & no tentative return type (#13486) * Singular DateTime::[get|set]Microsecond & no tentative return type * Added missing getMicrosecond to DateTimeInterface
show more ...
|
#
74c887b0 |
| 05-Mar-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
[ci skip] NEWS and UPGRADING
|
#
7b234706 |
| 05-Mar-2024 |
Ayesh Karunaratne |
ext/pcre: Add "/r" modifier (#13583) Adds support for "Caseless restricted" matching added in PCRE2lib 10.43 with the "r" modifier. This is `PCRE2_EXTRA_CASELESS_RESTRICT` in PC
ext/pcre: Add "/r" modifier (#13583) Adds support for "Caseless restricted" matching added in PCRE2lib 10.43 with the "r" modifier. This is `PCRE2_EXTRA_CASELESS_RESTRICT` in PCRE2. This is an "extra" option, which means it is not possible to pass this option as pcre2_compile() function parameter. This option is passed in a pcre2_set_compile_extra_options() call. Previously, these extra options are set at php_pcre_init_pcre2(), but after this change, it is possible to customize the options by adding bits to `eoptions` in pcre_get_compiled_regex_cache_ex(). The tests for this change are ported from upstream test suite[^1]. [^1]: https://github.com/PCRE2Project/pcre2/commit/c13d54f6581#diff-8c8312e4eb2d35bb16485404b7b5cc0eaef0bca1aa95ff5febf6a1890048305c
show more ...
|
#
353d4ce0 |
| 05-Mar-2024 |
Ayesh Karunaratne |
ext/xmlreader: Add class constant types to stub (#13596) Declares class constant types for the `XMLReader` class.
|
#
33967aef |
| 04-Mar-2024 |
David Carlier |
ext/gettext: dcgettext/dcngettext fix for stable branches. close GH-13594
|
#
9999a0cb |
| 28-Feb-2024 |
David Carlier |
ext/gettext: dcgettext/dcngettext sigabrt on macOs. the man page states `the locale facet is determined by the category argument, which should be one of the LC_xxx constants defined
ext/gettext: dcgettext/dcngettext sigabrt on macOs. the man page states `the locale facet is determined by the category argument, which should be one of the LC_xxx constants defined in the <locale.h> header, excluding LC_ALL`, since the 0.22.5 release, sanity checks had been strenghtened leading to an abort with the Zend/tests/arginfo_zpp_mismatch.phpt test setting the category to 0 which is LC_ALL on macOs. close GH-13555
show more ...
|