Niels Dossche
fee4e1889f
mbstring: Avoid pointless refcounted copy ( #20325 )
...
These scalars can use the ZVAL_COPY_VALUE variant instead of ZVAL_COPY
because they don't need refcounting.
2025-10-29 17:23:13 +01:00
Gina Peter Banyard
23162d852a
Add UPGRADING information for Zend API change
...
Related to 7815ab9b22
2025-10-29 13:24:36 +00:00
Gina Peter Banyard
7815ab9b22
Zend: add const qualifiers when possible for _zend_execute_data.func related uses ( #20263 )
...
The initial motivation was to see if it is possible to make the `func` field of `_zend_execute_data` constant.
For various reasons, this is not possible, but the added `const` qualifiers during this exploration remain useful.
2025-10-29 13:22:56 +00:00
Niels Dossche
336fbf09d7
[ci skip] Remove very outdated comment
2025-10-28 22:23:51 +01:00
Daniel Scherzer
c2620453b7
Merge branch 'PHP-8.5'
...
* PHP-8.5:
ext/lexbor: use PHP_VERSION for extension version (#20291 )
2025-10-28 10:51:34 -07:00
Daniel Scherzer
b35b5e0050
ext/lexbor: use PHP_VERSION for extension version ( #20291 )
...
To match most other bundled extensions, instead of having no version at all
2025-10-28 10:51:05 -07:00
Arnaud Le Blanc
bc7b8bd371
Merge branch 'PHP-8.5'
...
* PHP-8.5:
NEWS
NEWS
2025-10-28 11:14:06 +01:00
Arnaud Le Blanc
df9141079c
NEWS
2025-10-28 11:13:56 +01:00
Arnaud Le Blanc
157713a1fe
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
NEWS
2025-10-28 11:13:20 +01:00
Arnaud Le Blanc
94f48f1ade
NEWS
2025-10-28 11:13:10 +01:00
Niels Dossche
ed6218d5b1
phar: Use ZEND_PARSE_PARAMETERS_NONE() ( #20313 )
...
This is equivalent to the non-fast-ZPP code, but is less lines.
2025-10-28 07:52:55 +01:00
Ilija Tovilo
be1993bc10
Merge branch 'PHP-8.5'
...
* PHP-8.5:
[skip ci] Unparallelize imap
2025-10-28 00:50:21 +01:00
Ilija Tovilo
6fd6de3a9f
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
[skip ci] Unparallelize imap
2025-10-28 00:50:08 +01:00
Ilija Tovilo
7c483c1ac1
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
[skip ci] Unparallelize imap
2025-10-28 00:50:00 +01:00
Ilija Tovilo
76e26c6c3c
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[skip ci] Unparallelize imap
2025-10-28 00:49:32 +01:00
Ilija Tovilo
fc1bc9c695
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[skip ci] Unparallelize imap
2025-10-28 00:49:26 +01:00
Ilija Tovilo
20654ce4c9
[skip ci] Unparallelize imap
...
It's removed for PHP 8.4 anyway, and still regularly causes "Mailbox already
exists" errors despite the flaky flag.
2025-10-28 00:48:19 +01:00
David Carlier
6c1402031d
ext/zip: code refactoring.
...
- change few helpers signatures.
- ZipArchive::extractTo now accepts only string entries for the files
list.
close GH-20218
2025-10-27 21:19:52 +00:00
David Carlier
7ba7b308ce
Merge branch 'PHP-8.5'
...
* PHP-8.5:
ext/gd: Fix GH-19955 unit test.
2025-10-27 17:46:02 +00:00
David Carlier
1b220cb243
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
ext/gd: Fix GH-19955 unit test.
2025-10-27 17:45:52 +00:00
David Carlier
f1a5c53544
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
ext/gd: Fix GH-19955 unit test.
2025-10-27 17:45:40 +00:00
David Carlier
3c063abba1
ext/gd: Fix GH-19955 unit test.
...
Adding guard for imagefttext() availability.
close GH-20309
2025-10-27 17:45:17 +00:00
Ilija Tovilo
d4946a5799
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix stale EG(opline_before_exception) pointer through eval
2025-10-27 16:53:15 +01:00
Ilija Tovilo
1a74e9b549
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix stale EG(opline_before_exception) pointer through eval
2025-10-27 16:53:08 +01:00
Ilija Tovilo
aa7265bb7b
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix stale EG(opline_before_exception) pointer through eval
2025-10-27 16:52:49 +01:00
Ilija Tovilo
12920370e1
Fix stale EG(opline_before_exception) pointer through eval
...
Fixes GH-20183
Closes GH-20184
2025-10-27 16:48:46 +01:00
Ilija Tovilo
932241f2b5
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix parent hook call with named args
2025-10-27 16:39:20 +01:00
Ilija Tovilo
a1911ad3ef
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix parent hook call with named args
2025-10-27 16:39:02 +01:00
Ilija Tovilo
b150eb35d4
Fix parent hook call with named args
...
Fixes GH-20270
Closes GH-20271
2025-10-27 16:38:08 +01:00
Niels Dossche
64b30cee76
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix GH-20240: FTP with SSL: ftp_fput(): Connection timed out on successful writes
2025-10-26 23:40:01 +01:00
Niels Dossche
6bcc4e2c09
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix GH-20240: FTP with SSL: ftp_fput(): Connection timed out on successful writes
2025-10-26 23:39:56 +01:00
Niels Dossche
6dab33a438
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
Fix GH-20240: FTP with SSL: ftp_fput(): Connection timed out on successful writes
2025-10-26 23:39:02 +01:00
Niels Dossche
8761c4e507
Fix GH-20240: FTP with SSL: ftp_fput(): Connection timed out on successful writes
...
Looking at the strace, the timeout is only 1s which may be too low
anyway for checking for a response, but some servers also don't end up
replying finally anyway and close the connection already.
`data_available` was originally used for non-blocking downloads/uploads
and then reused for the shutdown sequence, but its error handling was
never adjusted to be silent.
Closes GH-20294.
2025-10-26 23:38:09 +01:00
Gina Peter Banyard
c0214e49d2
Zend: remove zend_make_callable() function ( #20269 )
...
The name of this function is confusing, it doesn't make a zval callable just normalizes strings to an array pair if the string references a static method.
In general, to store a userland function it is encouraged to store the resolved FCC rather than the zval.
Moreover, a sourcegraph search shows no usage of this API in external open source code.
2025-10-26 18:28:40 +00:00
Niels Dossche
23674d9482
Merge branch 'PHP-8.5'
...
* PHP-8.5:
ftp: Fix weird typo (#20295 )
2025-10-26 08:57:26 +01:00
Niels Dossche
393302bc62
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
ftp: Fix weird typo (#20295 )
2025-10-26 08:57:21 +01:00
Niels Dossche
d4030362cf
Merge branch 'PHP-8.3' into PHP-8.4
...
* PHP-8.3:
ftp: Fix weird typo (#20295 )
2025-10-26 08:57:14 +01:00
Niels Dossche
61b0d589d6
ftp: Fix weird typo ( #20295 )
...
* ftp: Fix weird typo
In 8827f8eca9 the async functions were
renamed to nb functions. So this was just a find+replace of async to nb.
The diff shows that "no asyncronous transfer to continue" was replaced
with "no nbronous transfer to continue". Makes no sense.
* Update ext/ftp/php_ftp.c
Co-authored-by: Jakub Zelenka <bukka@php.net >
---------
Co-authored-by: Jakub Zelenka <bukka@php.net >
2025-10-26 08:56:56 +01:00
Niels Dossche
5d0499af7e
Don't duplicate protoname for stream wrappers ( #20292 )
...
This is never used.
2025-10-26 08:39:33 +01:00
Gina Peter Banyard
275ec6f335
Zend: make zend_copy_parameters_array() private ( #20265 )
...
And slightly refactor implementation.
2025-10-25 22:36:09 +01:00
David Carlier
bac62bf31a
Merge branch 'PHP-8.5'
...
* PHP-8.5:
ext/zip: ZipArchive callback missing zend_release_fcall_info_cache
2025-10-25 21:51:38 +01:00
David Carlier
3884438fe3
ext/zip: ZipArchive callback missing zend_release_fcall_info_cache
...
during FCC conversion (79b9fe3 ) in the rare cases where the lib
fails to allocate the memory for these callbacks, we return false
directly.
close GH-20293
2025-10-25 21:50:43 +01:00
Niels Dossche
86a15f9a1b
phar: Remove redundant *error check ( #20288 )
...
The failure of the iterator is already checked above at line 1157.
2025-10-25 21:01:41 +02:00
Niels Dossche
3a9d59971b
phar: Use a loop instead of goto when looking for extensions ( #20289 )
...
This gets rid of a TODO and makes the code clearer.
2025-10-25 21:01:28 +02:00
Máté Kocsis
0cdf7bec96
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Reorganize ext/uri tests - withers (#19970 )
2025-10-25 14:47:33 +02:00
Máté Kocsis
27bc7c0e12
Reorganize ext/uri tests - withers ( #19970 )
2025-10-25 14:46:06 +02:00
Máté Kocsis
c930a98cc9
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix GH-20274 SoapClient::__doRequest undocumented backwards incompatible in PHP 8.5 (#20278 )
2025-10-25 14:39:14 +02:00
Máté Kocsis
0af4f27981
Fix GH-20274 SoapClient::__doRequest undocumented backwards incompatible in PHP 8.5 ( #20278 )
2025-10-25 14:38:52 +02:00
Niels Dossche
77858ae804
Merge branch 'PHP-8.5'
...
* PHP-8.5:
Fix GH-20281: \Dom\Document::getElementById() is inconsistent after nodes are removed
2025-10-25 12:24:16 +02:00
Niels Dossche
6267bde370
Merge branch 'PHP-8.4' into PHP-8.5
...
* PHP-8.4:
Fix GH-20281: \Dom\Document::getElementById() is inconsistent after nodes are removed
2025-10-25 12:24:03 +02:00