Florian Sowade
8dabbda8bc
Don’t reset func in zend_closure_internal_handler
...
The pointer is used in _zend_observe_fcall_begin().
2022-11-02 11:46:43 +01:00
Derick Rethans
605136204e
Updated to version 2022.6 (2022f)
2022-11-02 09:43:40 +00:00
Derick Rethans
271361d44a
Empty merge
2022-11-02 09:43:40 +00:00
Derick Rethans
bee083e2b8
Updated to version 2022.6 (2022f)
2022-11-02 09:43:39 +00:00
Derick Rethans
65f31a49cd
Empty merge
2022-11-02 09:43:39 +00:00
Derick Rethans
2b5bed904e
Updated to version 2022.6 (2022f)
2022-11-02 09:43:37 +00:00
Derick Rethans
e821773aaa
Merge branch 'PHP-8.1' into PHP-8.2
2022-10-31 15:03:14 +00:00
Derick Rethans
1e9b2700a3
Merge branch 'PHP-8.0' into PHP-8.1
2022-10-31 15:03:06 +00:00
Derick Rethans
4f2955c179
Merge branch 'PHP-7.4' into PHP-8.0
2022-10-31 15:02:56 +00:00
Derick Rethans
004cb82750
Bumb versions
2022-10-31 15:02:21 +00:00
Dmitry Stogov
482ae71fda
Fix memory leak
2022-10-31 12:20:28 +03:00
Jakub Zelenka
22f25532ed
Merge branch 'PHP-8.1' into PHP-8.2
2022-10-30 17:02:32 +00:00
Jakub Zelenka
a04a021105
Merge branch 'PHP-8.0' into PHP-8.1
2022-10-30 17:02:08 +00:00
Jakub Zelenka
8229649045
Fix GH-9770: Add small timeout in status-listen test
...
This is to allow more time to switch for active to idle in scoreboard as
it seems that Travis is quite short on resources and might not switch it
quickly enough.
2022-10-30 17:00:40 +00:00
Máté Kocsis
721e604a69
Do not display the value of UNKNOWN constants in the manual ( #9843 )
2022-10-30 14:58:16 +01:00
Jakub Zelenka
eb9cf18703
Merge branch 'PHP-8.1' into PHP-8.2
2022-10-30 11:46:06 +00:00
Jakub Zelenka
29f7c4613e
Merge branch 'PHP-8.0' into PHP-8.1
2022-10-30 11:43:11 +00:00
Jakub Zelenka
1c5844aa3e
Fix GH-9754: SaltStack hangs when running php-fpm 8.1.11
...
SaltStack uses Python subprocess and redirects stderr to stdout which is
then piped to the returned output. If php-fpm starts in daemonized mode,
it should close stderr. However a fix introduced in GH-8913 keeps stderr
around so it can be later restored. That causes the issue reported in
GH-9754. The solution is to keep stderr around only when php-fpm runs in
foreground as the issue is most likely visible only there. Basically
there is no need to restore stderr when php-fpm is daemonized.
2022-10-30 11:41:33 +00:00
Tim Düsterhus
7f0b228f48
Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP ( #9839 )
...
* Fix pre-PHP 8.2 compatibility for php_mt_rand_range() with MT_RAND_PHP
As some left-over comments indicated:
> Legacy mode deliberately not inside php_mt_rand_range()
> to prevent other functions being affected
The broken scaler was only used for `php_mt_rand_common()`, not
`php_mt_rand_range()`. The former is only used for `mt_rand()`, whereas the
latter is used for `array_rand()` and others.
With the refactoring for the introduction of ext/random `php_mt_rand_common()`
and `php_mt_rand_range()` were accidentally unified, thus introducing a
behavioral change that was reported in FakerPHP/Faker#528 .
This commit moves the checks for `MT_RAND_PHP` from the general-purpose
`range()` function back into `php_mt_rand_common()` and also into
`Randomizer::getInt()` for drop-in compatibility with `mt_rand()`.
* [ci skip] NEWS for `MT_RAND_PHP` compatibility
2022-10-28 16:52:43 +02:00
Kamil Tekiela
0db2e666a5
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Add NEWS entry for #9841
2022-10-28 11:25:51 +01:00
Kamil Tekiela
bce12f4e57
Add NEWS entry for #9841
2022-10-28 11:23:37 +01:00
Kamil Tekiela
646b8f6b5c
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Add NEWS entry for #9841
Add a temporary fix for insufficient buffer size in mysqlnd (#9835 )
mysqli_query throws warning despite using silenced error mode (#9842 )
2022-10-27 18:34:14 +01:00
Kamil Tekiela
ec1f58c871
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Add NEWS entry for #9841
Add a temporary fix for insufficient buffer size in mysqlnd (#9835 )
mysqli_query throws warning despite using silenced error mode (#9842 )
2022-10-27 18:31:38 +01:00
Kamil Tekiela
96049867d8
Add NEWS entry for #9841
...
Closes GH-9841
2022-10-27 18:29:17 +01:00
Kamil Tekiela
e713a8e8e5
Add a temporary fix for insufficient buffer size in mysqlnd ( #9835 )
2022-10-27 18:25:17 +01:00
Kamil Tekiela
5b60370906
mysqli_query throws warning despite using silenced error mode ( #9842 )
2022-10-27 18:24:28 +01:00
George Peter Banyard
a27ae67c0f
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Add missing EXTENSION section to tests
2022-10-27 14:42:17 +01:00
George Peter Banyard
a4acba9e52
Add missing EXTENSION section to tests
2022-10-27 14:39:43 +01:00
Ilija Tovilo
1d6b32f65c
Remove unnecessary ast eval bailout
...
We can just reset the filename_override to NULL in php_request_shutdown.
Closes GH-9805
2022-10-27 10:54:59 +02:00
Remi Collet
9bf61d6577
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
move CVEs in 8.1.12 changelog
2022-10-26 17:10:47 +02:00
Remi Collet
c84d7cc27e
move CVEs in 8.1.12 changelog
2022-10-26 17:10:29 +02:00
Remi Collet
86e18a9fe7
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
move CVEs in 8.0.25 changelog
2022-10-26 15:28:03 +02:00
Remi Collet
9c7234b24d
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
move CVEs in 8.0.25 changelog
2022-10-26 15:27:42 +02:00
Remi Collet
db28ee8fd0
move CVEs in 8.0.25 changelog
2022-10-26 15:27:23 +02:00
Florian Sowade
b9474bf385
Don’t report arginfo violations on fake closures ( #9823 )
2022-10-26 12:21:41 +02:00
Florian Sowade
56c121cea2
Initialize run time cache in PDO methods ( #9818 )
...
Without the memset the memory was uninitialized and the new test segfaulted when accessing the memory in _zend_observe_fcall_begin().
2022-10-26 12:21:41 +02:00
Pierrick Charron
4ccc414961
[ci skip] Update NEWS for PHP 8.2.0RC6
2022-10-25 13:46:14 -04:00
Ilija Tovilo
1ba80ff95c
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix user path in test
2022-10-25 13:04:51 +02:00
Ilija Tovilo
537a104f14
Fix user path in test
2022-10-25 13:03:55 +02:00
Dmitry Stogov
6567d49726
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
opcache: fix syntax error introduced in 261a08af65 (#9821 )
2022-10-24 20:43:18 +03:00
Kévin Dunglas
af75eaf9bf
opcache: fix syntax error introduced in 261a08af65 ( #9821 )
2022-10-24 20:42:55 +03:00
George Peter Banyard
cb3adf351d
Fix OpCache build after 0b0259a418
...
The intersection type needs to be marked as being allocated on the arena otherwise zend_persist_type() tries to free it and corrupts the Zend MM Heap
Also we only need to allocate the space for a list of size 1 and not the whole length of the intersection type
2022-10-24 15:17:26 +01:00
Christoph M. Becker
797ee86170
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Update new test to use EXTENSIONS section instead of SKIPIF
2022-10-24 15:02:55 +02:00
Christoph M. Becker
b4fb66463b
Update new test to use EXTENSIONS section instead of SKIPIF
2022-10-24 15:02:05 +02:00
George Peter Banyard
8c2df899d0
Revert 01eb06a0de
...
We do not need this shim anymore since it is converted to a proper DNF type at compile time
2022-10-24 11:41:42 +01:00
George Peter Banyard
0b0259a418
Convert Implicitly nullable pure intersection types to DNF
...
If we don't then Reflection would give us a ReflectionIntersectionType even if the type is currently displayed as (X&Y)|null
2022-10-24 11:39:54 +01:00
Dmitry Stogov
e0d9a29958
Fixed test
2022-10-24 12:10:08 +03:00
Dmitry Stogov
17706c3e88
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
JIT: Fix incorrect EX(opline) override
2022-10-24 12:03:36 +03:00
Dmitry Stogov
261a08af65
JIT: Fix incorrect EX(opline) override
...
Fixes oss-fuzz #52674
2022-10-24 12:02:28 +03:00
Stanislav Malyshev
9855fdd21a
Merge branch 'PHP-8.1' into PHP-8.2
2022-10-23 18:53:56 -06:00