Jakub Zelenka
52b13f6ddb
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-03 17:17:52 +00:00
Jakub Zelenka
882cc4f804
Merge branch 'PHP-8.1' into PHP-8.2
2023-11-03 17:17:23 +00:00
Jakub Zelenka
a8c6c6165b
Fix GH-9921: Loading ext in FPM config does not register module handlers
...
Closes GH-12377
2023-11-03 16:53:09 +00:00
Dmitry Stogov
4ee72a8dda
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Backport fix for HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag (#12591 )
2023-11-03 10:55:33 +03:00
Dmitry Stogov
6bf4041398
Backport fix for HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag ( #12591 )
...
* Fixed HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag
This fixes GH-12527
* typo
2023-11-03 10:54:57 +03:00
Niels Dossche
ea299d44a1
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix validation logic of php:function() callbacks in dom and xsl
2023-11-02 20:32:36 +01:00
Niels Dossche
304e482813
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix validation logic of php:function() callbacks in dom and xsl
2023-11-02 20:32:10 +01:00
Niels Dossche
20c9c4a367
Fix validation logic of php:function() callbacks in dom and xsl
...
Two issues:
- Assumed that at least 1 argument (function name) was provided.
- Incorrect error path for the non-callable case.
Closes GH-12593.
2023-11-02 20:28:55 +01:00
Dmitry Stogov
83bbea7c5b
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Don't JIT after fatal errors
2023-11-02 14:15:05 +03:00
Dmitry Stogov
bbf2fc99a3
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Don't JIT after fatal errors
2023-11-02 14:14:48 +03:00
Dmitry Stogov
77a497d56a
Don't JIT after fatal errors
2023-11-02 14:14:12 +03:00
Dmitry Stogov
22735b3ff5
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed GH-10008: Narrowing occurred during type inference of ZEND_ADD_ARRAY_ELEMENT
ext/intl: change when the locale is invalid for the 8.1/8.2 serie.
2023-11-02 08:15:50 +03:00
Dmitry Stogov
177a6f5d8a
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-10008: Narrowing occurred during type inference of ZEND_ADD_ARRAY_ELEMENT
2023-11-02 08:11:00 +03:00
Dmitry Stogov
798b9d097b
Fixed GH-10008: Narrowing occurred during type inference of ZEND_ADD_ARRAY_ELEMENT
2023-11-02 08:09:29 +03:00
David Carlier
a39e869b55
Merge branch 'PHP-8.1' into PHP-8.2
2023-11-01 19:13:08 +00:00
David Carlier
0da1356c66
ext/intl: change when the locale is invalid for the 8.1/8.2 serie.
...
does not throws an exception as it's considered as a too string change,
but the code user still needs to double check.
2023-11-01 19:12:50 +00:00
Dmitry Stogov
916fa73d80
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed inorrect QM_ASSIGN elimination
2023-11-01 09:55:37 +03:00
Dmitry Stogov
125dbb2c03
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed inorrect QM_ASSIGN elimination
2023-11-01 09:55:28 +03:00
Dmitry Stogov
19dfe05f16
Fixed inorrect QM_ASSIGN elimination
...
Fixes oss-fuzz #63771
2023-11-01 09:54:58 +03:00
Máté Kocsis
98e8e277b5
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12558 Escape \N in generated stubs
2023-10-31 10:09:22 +01:00
Máté Kocsis
d4e40dc0e1
Fix GH-12558 Escape \N in generated stubs ( #12562 )
2023-10-31 10:06:56 +01:00
Dmitry Stogov
cefe9e4ef4
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Backport fix for incorrect assumption about in-memory zval type
2023-10-31 11:59:17 +03:00
Dmitry Stogov
4b82ed4387
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Backport fix for incorrect assumption about in-memory zval type
2023-10-31 11:59:08 +03:00
Dmitry Stogov
455a967934
Backport fix for incorrect assumption about in-memory zval type
2023-10-31 11:56:01 +03:00
Dmitry Stogov
586b2f8645
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed GH-12511: Use must be in next opline assertion with patched infection
2023-10-31 07:52:46 +03:00
Dmitry Stogov
14b36c8583
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-12511: Use must be in next opline assertion with patched infection
2023-10-31 07:52:38 +03:00
Dmitry Stogov
b3b46a44c5
Fixed GH-12511: Use must be in next opline assertion with patched infection
2023-10-31 07:51:36 +03:00
Alex Dowad
81e236cde5
Fix infinite loop when mb_detect_encoding is used on UTF-8 BOM
...
This bug was introduced in cb840799b4 .
Thanks to Ignace Nyamagana Butera for discovering this bug and
to Sebastian Bergmann for doing an initial investigation and opening
a bug ticket.
2023-10-28 18:51:06 +02:00
Niels Dossche
43064cae94
Fix FFI tests on 8.3+
2023-10-28 16:28:43 +02:00
Niels Dossche
f9a24969d0
Fix #47531 : No way of removing redundant xmlns: declarations
...
Now it's possible via removeAttribute("xmlns:prefix").
It was not possible to reuse a libxml2 function to reconcile because it
does not align with DOM behaviour.
Closes GH-12542.
2023-10-28 15:46:22 +02:00
Arnaud Le Blanc
198f613401
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[ci skip] NEWS
[ci skip] NEWS
Fix segfault caused by weak references to FFI objects (#12488 )
2023-10-28 15:05:55 +02:00
Arnaud Le Blanc
7a617ee223
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[ci skip] NEWS
Fix segfault caused by weak references to FFI objects (#12488 )
2023-10-28 15:03:17 +02:00
sji
04b35a44ce
Fix segfault caused by weak references to FFI objects ( #12488 )
...
Thank you!
2023-10-28 14:59:06 +02:00
Niels Dossche
e7cbcfda14
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-11374: Different preg_match result with -d pcre.jit=0
2023-10-27 17:45:44 +02:00
Niels Dossche
1ea8a10ca8
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix GH-11374: Different preg_match result with -d pcre.jit=0
2023-10-27 17:44:56 +02:00
Michael Voříšek
83a505e85f
Fix GH-11374: Different preg_match result with -d pcre.jit=0
...
This is a backport of https://github.com/PCRE2Project/pcre2/pull/300 .
Closes GH-12439.
2023-10-27 17:43:33 +02:00
Dmitry Stogov
e52d617934
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed GH-12509: JIT assertion when running php-parser tests
2023-10-26 23:59:12 +03:00
Dmitry Stogov
770c1b0361
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-12509: JIT assertion when running php-parser tests
2023-10-26 23:59:03 +03:00
Dmitry Stogov
5f46d86955
Fixed GH-12509: JIT assertion when running php-parser tests
2023-10-26 23:58:29 +03:00
Niels Dossche
c6d312080c
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix bug #75306 : Memleak in SoapClient
2023-10-26 19:59:21 +02:00
Niels Dossche
e39538bed0
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix bug #75306 : Memleak in SoapClient
2023-10-26 19:59:00 +02:00
Niels Dossche
27797a26ca
Fix bug #75306 : Memleak in SoapClient
...
Setting the stream context via php_stream_context_to_zval() will
increase the reference count. So if the new context is created, then it
will end up with a reference count of 2 while it should be 1.
Credits to cmb for the analysis. I arrived at the same patch as he did.
Closes GH-12523.
2023-10-26 19:58:31 +02:00
Niels Dossche
6953dd658c
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix incorrect dtor for persistent sdl->encoders
2023-10-25 17:56:41 +02:00
Niels Dossche
07de4b69d4
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix incorrect dtor for persistent sdl->encoders
2023-10-25 17:54:46 +02:00
Niels Dossche
9f7f3b2034
Fix incorrect dtor for persistent sdl->encoders
...
Closes GH-12515.
2023-10-25 17:53:42 +02:00
Dmitry Stogov
7d67b19325
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed regression intoduced by 76c41d27f9
2023-10-25 15:15:48 +03:00
Dmitry Stogov
76724fc4ac
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed regression intoduced by 76c41d27f9
2023-10-25 15:15:39 +03:00
Dmitry Stogov
fbf4e196da
Fixed regression intoduced by 76c41d27f9
2023-10-25 15:15:13 +03:00
Niels Dossche
a64b48ba92
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[ci skip] NEWS
Fix null pointer dereferences in case of allocation failure
2023-10-24 19:42:43 +02:00
Niels Dossche
dd8a945eb7
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[ci skip] NEWS
Fix null pointer dereferences in case of allocation failure
2023-10-24 19:36:57 +02:00