Gina Peter Banyard
a5f2eee785
Zend: Deprecate __wakeup() ( #19435 )
...
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_sleep_and_wakeup_magic_methods
2025-09-11 06:57:21 +01:00
Niels Dossche
2d545dd1b7
Merge branch 'PHP-8.4'
...
* PHP-8.4:
Fix GH-19688: Remove pattern overflow in zip addGlob()
2025-09-10 23:48:22 +02:00
Niels Dossche
98aba6c165
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix GH-19688: Remove pattern overflow in zip addGlob()
2025-09-10 23:48:16 +02:00
Niels Dossche
901f71e6e3
Fix GH-19688: Remove pattern overflow in zip addGlob()
...
memcmp() can overread the filename if the filename is shorter than the
pattern.
Closes GH-19689.
2025-09-10 23:47:52 +02:00
Niels Dossche
c15d51f747
Fix deprecation warning in test
...
[ci skip]
2025-09-10 21:15:09 +02:00
Niels Dossche
25d6b1366a
Merge branch 'PHP-8.4'
...
* PHP-8.4:
[ci skip] Add NEWS item for 9b71c616
2025-09-10 17:59:52 +02:00
Niels Dossche
a76d01d48e
[ci skip] Add NEWS item for 9b71c616
2025-09-10 17:59:46 +02:00
Niels Dossche
75e320ff3d
Merge branch 'PHP-8.4'
...
* PHP-8.4:
Fix GH-12265: Cloning an object breaks serialization recursion
2025-09-10 17:54:13 +02:00
Niels Dossche
23a7ba1993
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix GH-12265: Cloning an object breaks serialization recursion
2025-09-10 17:54:08 +02:00
Niels Dossche
f6f17484ab
Fix GH-12265: Cloning an object breaks serialization recursion
...
Closes GH-12287.
2025-09-10 17:53:34 +02:00
Dylan K. Taylor
36057b93f3
Fix GH-19722: Windows: _get_osfhandle asserts in debug mode when given a socket
...
Closes GH-19725.
2025-09-10 17:50:03 +02:00
Alexandre Daubois
29c7ee4cd4
Add a 1-char fastpath to implode() ( #19276 )
2025-09-10 16:52:31 +02:00
Dmitry Stogov
22d002e068
Merge branch 'PHP-8.4'
...
* PHP-8.4:
Update IR
2025-09-10 17:08:56 +03:00
Dmitry Stogov
2ff7a18bdc
Update IR
...
IR commit: 2283f5eedf2a238b4d819c1774e47f3721b80cd8
2025-09-10 17:08:17 +03:00
Alexandre Daubois
8eac05f747
Cleanup and clarify session.c ( #19631 )
2025-09-10 16:06:34 +02:00
Peter Kokot
f4f6e89a1a
GH-15630 follow-up: Remove redundant undefs ( #19783 )
2025-09-10 15:14:16 +02:00
Gina Peter Banyard
4191843f6a
Update NEWS/UPGRADING for __sleep() deprecation
2025-09-10 09:56:49 +02:00
Gina Peter Banyard
f18e99244b
Zend: Deprecate __sleep() ( #19682 )
...
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_sleep_and_wakeup_magic_methods
2025-09-10 08:54:16 +01:00
Jakub Zelenka
0e2c991767
Merge branch 'PHP-8.4'
2025-09-09 23:04:14 +02:00
Jakub Zelenka
47fd61b88c
Merge branch 'PHP-8.3' into PHP-8.4
2025-09-09 23:03:41 +02:00
Jakub Zelenka
c9cc68b9ed
PHP-8.3 is now for PHP-8.3.27-dev
2025-09-09 23:02:24 +02:00
Niels Dossche
834e92a4f3
Fix GH-19780: InvalidUrlException should check $errors argument ( #19781 )
...
It makes sense to restrict the types used for $errors.
This can also improve the types for static analysis tools as they can
now rely on the array being a list of this class type.
Closes GH-19781.
2025-09-09 22:09:59 +02:00
Jakub Zelenka
03d984e659
Merge branch 'PHP-8.4'
2025-09-09 22:04:20 +02:00
Jakub Zelenka
e946e9b329
Merge branch 'PHP-8.3' into PHP-8.4
2025-09-09 22:03:49 +02:00
Tim Düsterhus
1faaa7224d
uri: Remove useless layer of indirection in php_uri_get_parser() ( #19774 )
...
By using the `zend_hash_*()` functions directly, we can benefit from the
precalculated hash value in the given `zend_string *uri_parser_name`. We need
to deconstify the parameter, since the function might calculate the hash, thus
modifying the `zend_string*`.
2025-09-09 22:02:30 +02:00
Jakub Zelenka
3a17712269
Merge branch 'PHP-8.2' into PHP-8.3
2025-09-09 21:59:35 +02:00
Tim Düsterhus
d2a54a08c1
uri: Do not treat arbitrary error codes as syntax errors in uri_parser_rfc3986 ( #19779 )
...
In case one of the other error codes is returned, treating it as a syntax error
is going to be confusing for the user (and also the PHP team when an issue is
reported).
2025-09-09 21:58:46 +02:00
Jakub Zelenka
6f92e9c054
Merge branch 'PHP-8.1' into PHP-8.2
2025-09-09 21:58:37 +02:00
Jakub Zelenka
c0f8bb6622
Revert "fix pipe detection for STDERR."
...
This reverts commit a757f276f9 .
2025-09-09 21:57:54 +02:00
Tim Düsterhus
ded813b813
Merge branch 'PHP-8.4'
...
* PHP-8.4:
fix pipe detection for STDERR.
fix pipe detection for STDERR.
2025-09-09 19:42:28 +02:00
Tim Düsterhus
c6961a0445
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
fix pipe detection for STDERR.
fix pipe detection for STDERR.
2025-09-09 19:42:16 +02:00
Tim Düsterhus
4b35b8b69b
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
fix pipe detection for STDERR.
fix pipe detection for STDERR.
2025-09-09 19:42:05 +02:00
Tim Düsterhus
4f59f371c2
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
fix pipe detection for STDERR.
2025-09-09 19:41:54 +02:00
Tim Düsterhus
f08fe17a53
Merge branch 'PHP-8.4'
...
* PHP-8.4:
zend_API: Do not overwrite `readonly` properties in `object_properties_load()` (#19767 )
2025-09-09 19:36:00 +02:00
Tim Düsterhus
9b71c61632
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
zend_API: Do not overwrite `readonly` properties in `object_properties_load()` (#19767 )
2025-09-09 19:34:32 +02:00
Tim Düsterhus
215ebbb8d5
zend_API: Do not overwrite readonly properties in object_properties_load() ( #19767 )
...
Fixes php/php-src#19765 .
2025-09-09 19:33:45 +02:00
Calvin Buckley
c5611df536
Merge branch 'PHP-8.4'
...
* PHP-8.4:
PHP 8.4 is now for PHP 8.4.14-dev
2025-09-09 12:13:12 -03:00
Calvin Buckley
3230588300
Merge branch 'PHP-8.4' of github.com:php/php-src into PHP-8.4
...
* 'PHP-8.4' of github.com:php/php-src:
Mark test as ONLINE (#19776 )
2025-09-09 11:59:08 -03:00
Calvin Buckley
635376d22d
PHP 8.4 is now for PHP 8.4.14-dev
2025-09-09 11:37:59 -03:00
Remi Collet
581fcdcac0
Merge branch 'PHP-8.4'
...
* PHP-8.4:
Mark test as ONLINE (#19776 )
2025-09-09 16:35:08 +02:00
Remi Collet
7f9de57fb4
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Mark test as ONLINE (#19776 )
2025-09-09 16:34:52 +02:00
Remi Collet
d2fa1ca600
Mark test as ONLINE ( #19776 )
2025-09-09 16:34:02 +02:00
Remi Collet
1c6d0e90f9
Mark test as ONLINE ( #19776 )
2025-09-09 16:19:05 +02:00
Volker Dusch
3290197412
[ci skip] Update NEWS for PHP 8.5.0 beta3
2025-09-09 13:17:24 +02:00
Tim Düsterhus
37bf0ec961
main: Deprecate deriving $_SERVER['argc'] and $_SERVER['argv'] from the query string ( #19606 )
...
* main: Ignore `register_argc_argv` when `SG(request_info).argc` is available
* sapi: Remove hardcoded `register_argc_argv` for CLI SAPIs
This INI is ignored since the previous commit, which makes the hardcoded
setting obsolete.
* main: Deprecate deriving $_SERVER['argc'] and $_SERVER['argv'] from the query string
RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_register_argc_argv_ini_directive
* main: Adjust deprecation message for `register_argc_argv`
* NEWS/UPGRADING
2025-09-09 10:34:35 +02:00
Alexandre Daubois
3f66cbeb4d
Use zend_string API for mail.cr_lf_mode validation ( #19759 )
2025-09-09 10:18:42 +02:00
Alexandre Daubois
5a177eedd5
Merge branch 'PHP-8.4'
...
* PHP-8.4:
Fix memory leak when providing an invalid locale to IntlDateFormatter (#19764 )
Fix intl tests naming (#19763 )
2025-09-09 08:42:34 +02:00
Alexandre Daubois
f9805eb14b
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix intl tests naming (#19763 )
2025-09-09 08:42:10 +02:00
Alexandre Daubois
b718514dc2
Fix memory leak when providing an invalid locale to IntlDateFormatter ( #19764 )
2025-09-09 08:41:32 +02:00
Alexandre Daubois
9eedf00206
Fix intl tests naming ( #19763 )
2025-09-09 08:41:20 +02:00