Sergey Panteleev
e02aeaf0b0
Update versions for PHP 8.2.0RC4
2022-10-11 10:45:57 +03:00
Christoph M. Becker
6e0505bf27
Fix GH-9589: dl() segfaults when module is already loaded
...
As of PHP 8.2.0, `zend_module_entry` structures are no longer copied,
so when a module is permanently loaded, and users try to dynamically
load that module again, the structure is corrupted[1], causing a
segfault on shutdown.
We catch that by checking whether any dynamically loaded module is
already loaded, and bailing out in that case without modifying the
`zend_module_entry` structure.
[1] <https://github.com/php/php-src/issues/9589#issuecomment-1263718701 >
Closes GH-9689.
2022-10-10 13:36:57 +02:00
David Carlier
8e146c8806
Merge branch 'PHP-8.1' into PHP-8.2
2022-10-10 12:31:57 +01:00
David Carlier
be53e5e5bb
Fix GH-9566: disable assembly for Fiber on FreeBSD i386.
...
preparing in case there is more architectures especially the not tested.
2022-10-10 12:31:38 +01:00
Christoph M. Becker
22db5aa576
[ci skip] Fix contributor name in NEWS
...
Cf. <https://github.com/php/php-src/pull/8114#issuecomment-1264042280 >.
2022-10-07 16:40:26 +02:00
HypeMC
279ffdb598
Fix GH-9655: Allow pure intersection types to be implicitly nullable
...
Closes GH-9659
2022-10-03 11:02:52 +01:00
Arnaud Le Blanc
666dff4f3f
[ci skip] NEWS
2022-10-01 11:25:37 +02:00
Arnaud Le Blanc
878b20bdc9
[ci skip] NEWS
2022-10-01 11:24:08 +02:00
Remi Collet
12c3636d01
add missing CVEs
2022-09-30 09:19:03 +02:00
Pierrick Charron
e061084bbe
[ci skip] Update NEWS for PHP 8.2.0RC4
2022-09-27 17:46:45 -04:00
George Peter Banyard
3579ddaace
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix GH-9583: session_create_id() fails with user defined save handler that doesn't have a validateId() method
2022-09-27 15:58:30 +01:00
George Peter Banyard
72cb47338e
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix GH-9583: session_create_id() fails with user defined save handler that doesn't have a validateId() method
2022-09-27 15:54:37 +01:00
George Peter Banyard
8b115254c0
Fix GH-9583: session_create_id() fails with user defined save handler that doesn't have a validateId() method
2022-09-27 15:52:21 +01:00
Andy Postnikov
2108d6983f
Revert "Fix parse_url(): can not recognize port without scheme"
...
This reverts commit 72d83709d9 .
Closes GH-9569
2022-09-23 19:44:29 +02:00
David Carlier
fd55b50833
Merge branch 'PHP-8.1' into PHP-8.2
2022-09-22 11:24:37 +01:00
wxue1
52f4ed16e0
Indirect call reduction for Jit code
...
Changing indirect call to direct call for Jit code
benefits the branch prediction, which gets 1% performance
gain in our workload.
Similarly, we change indirect jump to direct jump.
Signed-off-by: Su, Tao <tao.su@intel.com >
Signed-off-by: Wang, Xue <xue1.wang@intel.com >
2022-09-22 11:22:27 +01:00
Ilija Tovilo
3071d85a6b
PS(mod_user_class_name) must not leak into next request
...
Fixes GH-9584
2022-09-22 11:37:37 +02:00
Anatol Belski
eba3be4d38
NEWS: Add entry for GH-8805
...
[ci skip]
Signed-off-by: Anatol Belski <ab@php.net >
2022-09-18 15:43:12 +02:00
Anatol Belski
54701ea3e7
NEWS: Add entry for GH-8805
...
[ci skip]
Signed-off-by: Anatol Belski <ab@php.net >
2022-09-18 15:39:07 +02:00
Ilija Tovilo
6622c54c53
Fix class link observer with file_cache_only=1
...
Previously, notify would only get called on classes with CE_CACHE.
However, during compilation class names are non-permanent which won't
get a CE_CACHE and thus wouldn't not get notified.
Closes GH-9550
2022-09-16 14:15:05 +02:00
Derick Rethans
0f9351669b
Update NEWS
2022-09-14 16:44:54 +01:00
Bruce Dou
9f7e27a86b
Fix: sockets constants
...
Closes GH-9533.
2022-09-14 15:27:29 +02:00
Sara Golemon
559da529a0
Bump for 8.0.25
2022-09-13 23:46:26 +00:00
Patrick Allaert
0f575aa698
PHP-8.1 is now for PHP 8.1.12-dev
2022-09-13 23:09:47 +02:00
Sergey Panteleev
450d28d315
[ci skip] Update NEWS for PHP 8.2.0RC3
2022-09-13 18:25:42 +03:00
George Peter Banyard
bacbfb81ab
Merge branch 'PHP-8.1' into PHP-8.2
2022-09-13 12:50:38 +01:00
George Peter Banyard
71e198be25
Merge branch 'PHP-8.0' into PHP-8.1
2022-09-13 12:45:42 +01:00
George Peter Banyard
47500f3300
Fix GH-9421 Incorrect argument number for ValueError in NumberFormatter
...
Closes GH-9489
2022-09-13 12:42:58 +01:00
George Peter Banyard
79b011bdd9
Merge branch 'PHP-8.1' into PHP-8.2
2022-09-13 11:35:12 +01:00
George Peter Banyard
3d5df064ca
Merge branch 'PHP-8.0' into PHP-8.1
2022-09-13 11:33:09 +01:00
George Peter Banyard
293e69179d
Fix GH-9308 GMP throws the wrong error when a GMP object is passed to gmp_init()
...
Closes GH-9490
2022-09-13 11:24:19 +01:00
George Peter Banyard
3675041d03
Update NEWS with DNF type check bug fix
2022-09-13 11:12:18 +01:00
Jakub Zelenka
f126769a29
Fix bug GH-9517: Compilation error in openssl extension
2022-09-11 15:40:57 +01:00
Ilija Tovilo
08b7539583
Fix syntax error when dnf type in parens after readonly
...
Fixes GH-9500
Closes GH-9512
2022-09-11 12:29:29 +02:00
Christoph M. Becker
76dccd8207
Fix GH-9518: Disabling IPv6 support disables unrelated constants
...
We need to properly terminate the "conditional compilation" in stub
files.
Closes GH-9520.
2022-09-10 18:12:22 +02:00
Ilija Tovilo
d5373eac46
Fix lsp error in eval'd code referring to incorrect class for static type
...
Fixes GH-9407
Closes GH-9471
2022-09-08 10:52:27 +02:00
Ilija Tovilo
1435fc6262
Private method incorrectly marked as "overwrites" in reflection
...
Fix GH-9409
Closes GH-9469
2022-09-08 10:43:25 +02:00
Christoph M. Becker
15405c60da
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix GH-9411: PgSQL large object resource is incorrectly closed
2022-09-05 17:28:23 +02:00
Christoph M. Becker
b5cad508fe
Merge branch 'PHP-8.0' into PHP-8.1
...
* PHP-8.0:
Fix GH-9411: PgSQL large object resource is incorrectly closed
2022-09-05 17:26:13 +02:00
Yurun
6ac3f7c84d
Fix GH-9411: PgSQL large object resource is incorrectly closed
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
Closes GH-9411.
2022-09-05 16:37:54 +02:00
David Bohman
f098193d15
GH-9464: Fix build on older macOs releases.
...
A simple check for CommonCrypto/CommonRandom.h does not work on earlier macOS.
Must also pull in sys/types.h for size_t, Availability.h for __OSX_AVAILABLE_STARTING,
and CommonCrypto/CommonCryptoError.h for CCCryptorStatus.
Closes GH-9479.
2022-09-04 02:12:28 +01:00
Arnaud Le Blanc
349fdc9042
[ci skip] NEWS
2022-09-03 11:28:18 +02:00
Arnaud Le Blanc
840ea641b1
[ci skip] NEWS
2022-09-02 13:57:11 +02:00
Arnaud Le Blanc
6deddd3950
[ci skip] NEWS
2022-09-02 13:53:20 +02:00
Arnaud Le Blanc
6aedc5eaf0
[ci skip] NEWS
2022-09-02 13:48:56 +02:00
Ilija Tovilo
2cfb028e22
Fix class name FQN when AST dumping new and class const
...
Fixes GH-9447
Closes GH-9462
2022-09-02 08:57:26 +02:00
Niklas Keller
f8b217a345
Fix pcre.jit on Apple Silicon
...
This backports https://github.com/zherczeg/sljit/pull/105 . Relates to bug #80435 , however, it doesn't solve the bus error on PHP 8.0, but PHP 8.1 builds fine now.
Closes GH-9279.
2022-08-31 14:22:44 +02:00
Tim Düsterhus
c77bbf6fe5
Mark crypt()'s $string parameter as #[\SensitiveParameter]
2022-08-30 20:02:28 +02:00
Pierrick Charron
9f303cf7d3
Prepare NEWS for PHP 8.2.0RC2
2022-08-30 12:10:40 -04:00
Christoph M. Becker
853181a14d
Add NEWS and UPGRADING entries for GH-9296
2022-08-30 16:59:39 +02:00