#
ff80ec70 |
| 02-Feb-2025 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Add enchant_dict_remove() (#17507)
|
#
236e12e5 |
| 25-Jan-2025 |
Christoph M. Becker |
Drop --with-uncritical-warn-choke configuration option This selection of suppressed warnings is pretty arbitrary, and apparently disabling it does not raise any more warning for whole
Drop --with-uncritical-warn-choke configuration option This selection of suppressed warnings is pretty arbitrary, and apparently disabling it does not raise any more warning for whole php-src (except for `-Wno-deprecated-declarations`). As such it appears to be pretty useless, and it seems to be more appropriate to let users select which warnings to suppress via manually set `CFLAGS`. Since we already apply `/wd4996`[1] when building with MSVC, and there are indeed plenty of deprecation warnings, for now, we apply `-Wno-deprecated-declarations` for Clang builds unconditionally. [1] <https://learn.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-3-c4996> Closes GH-17554.
show more ...
|
#
3ff7758b |
| 09-Jan-2025 |
Gina Peter Banyard |
ext/pdo: Refactor PDO::FETCH_CLASS to not rely on a FCI and use a HashTable for ctor_arg To call the constructor we now only store the CE and a HashTable for the arguments. This reduces
ext/pdo: Refactor PDO::FETCH_CLASS to not rely on a FCI and use a HashTable for ctor_arg To call the constructor we now only store the CE and a HashTable for the arguments. This reduces the size of the _pdo_stmt_t struct from 320 bytes to 232 bytes. Moreover, this now means that the constructor argument array follows the usual CUFA semantics. This change is a BC break, as string keys now act like named arguments. Moreover, the automatic wrapping of by-value arguments for by-ref parameters has been dropped, and the usual E_WARNING is now emitted in those cases. The do_fetch() is heavily refactored to simplify the execution flow, which also makes it easier to understand. Additionally we add a new bitflag in_fetch to prevent modification of the fetch flags by userland when PDO is fetching from the DB.
show more ...
|
#
2ea386a5 |
| 10-Jan-2025 |
David Carlier |
ext/sockets: linux AF_PACKET support. close GH-17440
|
#
0a14ab18 |
| 29-Jan-2025 |
Eric Norris <1906605+ericnorris@users.noreply.github.com> |
RFC: Error Backtraces v2 (#17056) see https://wiki.php.net/rfc/error_backtraces_v2 Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
|
#
f926c5ce |
| 26-Jan-2025 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-16883: gzopen() does not use the default stream context when opening HTTP URLs Otherwise it's not possible to control the context; it's also consistent with how the standard open
Fix GH-16883: gzopen() does not use the default stream context when opening HTTP URLs Otherwise it's not possible to control the context; it's also consistent with how the standard open functions work. Closes GH-17589.
show more ...
|
#
f82f602e |
| 26-Jan-2025 |
David Carlier |
ext/pgsql: few internal changes. Z_PARAM_STR*/Z_PARAM_PATH. lo_write checks any null byte. close GH-17587
|
#
63b6e905 |
| 26-Jan-2025 |
David Carlier |
[skip ci] NEW/UPGRADING
|
#
32fb2607 |
| 24-Jan-2025 |
Gina Peter Banyard |
Zend: Make Closure a proper subtype of callable (#15492)
|
#
f2d8420b |
| 17-Jan-2025 |
Dennis Snell |
Test: grapheme_extract should slide properly past error bytes. (#17404) grapheme_extract should slide properly past error bytes. Adds a test to assert that the `$next` parameter of
Test: grapheme_extract should slide properly past error bytes. (#17404) grapheme_extract should slide properly past error bytes. Adds a test to assert that the `$next` parameter of `grapheme_extract()` points to the next byte offset in the input `$haystack` after accounting for the moved offset, according to the docs: > If offset does not point to the first byte of a UTF-8 character, > the start position is moved to the next character boundary. It seems that the existing behavior is to find the next grapheme boundary from the original provided offset, but if the offset doesn’t point to a valid starting byte, the assigned `$next` value will point to the byte that was immediately decoded in the same call, leading to possible infinite loops in user-space code. ``` while ( $at < strlen( $s ) ) { $grapheme = grapheme_extract( "\x85PHP", 1, GRAPHEME_EXTR_COUNT, $at, $at ); // never moves past the second byte, always returns 'P' } ```
show more ...
|
#
3a039e37 |
| 08-Jan-2025 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Add enchant_dict_remove_from_session() (#17393)
|
#
a091e523 |
| 06-Jan-2025 |
David Carlier |
ext/session: session_start() options arguments type checks. close GH-17388
|
#
d20880ce |
| 06-Jan-2025 |
Eric Norris <1906605+ericnorris@users.noreply.github.com> |
RFC: Add `CurlSharePersistentHandle` objects (#16937) see https://wiki.php.net/rfc/curl_share_persistence_improvement
|
#
9f87a19d |
| 05-Jan-2025 |
David Carlier |
ext/sockets: drop convert_to_array for multicast leave group settings. close GH-17371
|
#
466f3257 |
| 05-Jan-2025 |
David Carlier |
ext/sockets: socket_addrinfo_lookup and other few internal changes - socket_addrinfo_lookup throws when hints is an indexed array. - socket_get_option hardcoding size outputs to user whe
ext/sockets: socket_addrinfo_lookup and other few internal changes - socket_addrinfo_lookup throws when hints is an indexed array. - socket_get_option hardcoding size outputs to user when data size known. close GH-17363
show more ...
|
#
025cc6f6 |
| 04-Jan-2025 |
DanielEScherzer |
UPGRADING: fix misplaced `()` (#17360) [skip ci]
|
#
c7a322cc |
| 02-Jan-2025 |
David Carlier |
ext/sockets: follow-up on GH-17300 to check hints value ranges. close GH-17326
|
#
b7c76ded |
| 30-Dec-2024 |
David Carlier |
ext/socket: socket_addrinfo_lookup check hints array. close GH-17300
|
#
665ebd7f |
| 29-Dec-2024 |
David Carlier |
ext/sockets: socket_sendto check port range. close GH-17299
|
#
caafa041 |
| 29-Dec-2024 |
David Carlier |
ext/sockets: socket_bind() check port validity. range from ephemeral port (0) to max unsigned 16 bits. close GH-17296
|
#
00fe9b20 |
| 27-Dec-2024 |
David Carlier |
ext/sockets: socket_create_listen() check port value beforehand. port is a 16 bit field, limited to the 65535 value then. Note that 0 is a valid case for ephemeral port. close G
ext/sockets: socket_create_listen() check port value beforehand. port is a 16 bit field, limited to the 65535 value then. Note that 0 is a valid case for ephemeral port. close GH-17281
show more ...
|
#
63e4e08e |
| 24-Nov-2024 |
David Carlier |
ext/sockets: following-up on GH-16842, update FreeBSD TCP stack setting. - `TCP_FUNCTION_ALIAS`: fetches the function pointer name alias (>= 14.0 only tough). - `TCP_BBR_ALGORITHM`
ext/sockets: following-up on GH-16842, update FreeBSD TCP stack setting. - `TCP_FUNCTION_ALIAS`: fetches the function pointer name alias (>= 14.0 only tough). - `TCP_BBR_ALGORITHM`: set/get the underlying algorithm (0: netflix, 1: google) when the BBR's TCP stack is used. - `TCP_REUSPORT_LB_NUMA`: set/get a NUMA domain filter on the socket. close GH-16923
show more ...
|
#
bf3673a4 |
| 19-Dec-2024 |
David Carlier |
ext/intl: TimeZone address todo to throw exceptions on error. close GH-17215
|
#
bf5e6c5f |
| 22-Dec-2024 |
Kamil Tekiela |
SplFileObject::fwrite $length param nullable (#17242)
|
#
d480c04b |
| 22-Dec-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement cache slot optimization for XMLReader (#17232)
|