#
b49e1785 |
| 18-Oct-2023 |
Ilija Tovilo |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Avoid JIT warning with opcache.jit_buffer_size=0
|
#
07d81592 |
| 17-Oct-2023 |
Ilija Tovilo |
Avoid JIT warning with opcache.jit_buffer_size=0 Closes GH-12460 |
#
18942459 |
| 11-Oct-2023 |
Ilija Tovilo |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Report warning if JIT cannot be enabled
|
#
71774611 |
| 10-Oct-2023 |
Daniil Gentili |
Report warning if JIT cannot be enabled Closes GH-12404 |
#
6274970b |
| 03-Oct-2023 |
Ilija Tovilo |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Invalidate path even if the file was deleted
|
#
f4ab4949 |
| 29-Sep-2023 |
Mikhail Galanin |
Invalidate path even if the file was deleted Closes GH-12323 |
#
28a909d4 |
| 02-Oct-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix #80092: ZTS + preload = segfault on shutdown
|
#
bdc87b0f |
| 27-Sep-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix #80092: ZTS + preload = segfault on shutdown After preloading has executed, the executor globals for class_table and function_table are still referring to the values during preloadin
Fix #80092: ZTS + preload = segfault on shutdown After preloading has executed, the executor globals for class_table and function_table are still referring to the values during preloading. If no request happens after that then these values will remain dangling pointers. If then the -v option on CLI or -h option (and possibly others) on CGI is provided, there is a double free. Fix it by nulling the pointers explicitly after preloading has finished to fix it for all SAPIs. Closes GH-12311.
show more ...
|
#
404f1d37 |
| 21-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix GH-11715: opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong
|
#
ee3f9323 |
| 17-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11715: opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong There are a couple of oddities. 1) The interned strings buffer compri
Fix GH-11715: opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong There are a couple of oddities. 1) The interned strings buffer comprises the whole hashtable datastructure. Therefore, it seems that the interned strings buffer size is the size of only said table. However, in the current code it also includes the size of the zend_accel_shared_globals. 2) ZCSG(interned_strings).end is computed starting from the accelerator globals struct itself. I would expect it to start from the part where the interned strings table starts. 3) When computing the used size, it is done using ZCSG(interned_strings).end - ZCSG(interned_strings).start. However, this does not include the uin32_t slots array because ZCSG(interned_strings).start pointers after that array. This patch corrrects these 3 points. Closes GH-11717.
show more ...
|
#
8b1d352e |
| 17-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Prevent potential deadlock if accelerated globals cannot be allocated
|
#
b0bc057e |
| 17-Jul-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Prevent potential deadlock if accelerated globals cannot be allocated Not sure if this is possible to hit in practice, zend_accel_error_noreturn doesn't return so the unlock isn't called
Prevent potential deadlock if accelerated globals cannot be allocated Not sure if this is possible to hit in practice, zend_accel_error_noreturn doesn't return so the unlock isn't called. Other callsites that use both zend_accel_error_noreturn and zend_shared_alloc_unlock first perform the unlocking. Closes GH-11718.
show more ...
|
#
0e7ad409 |
| 30-May-2023 |
nielsdos <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix DOMElement::append() and DOMElement::prepend() hierarchy checks Fix spec compliance error for DOMDocument::getElementsByTagName
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix DOMElement::append() and DOMElement::prepend() hierarchy checks Fix spec compliance error for DOMDocument::getElementsByTagNameNS Fix GH-11336: php still tries to unlock the shared memory ZendSem with opcache.file_cache_only=1 but it was never locked Fix GH-11338: SplFileInfo empty getBasename with more than one slash
show more ...
|
#
9c59d22a |
| 29-May-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-11336: php still tries to unlock the shared memory ZendSem with opcache.file_cache_only=1 but it was never locked I chose to check for the value of lock_file instead of checking the
Fix GH-11336: php still tries to unlock the shared memory ZendSem with opcache.file_cache_only=1 but it was never locked I chose to check for the value of lock_file instead of checking the file_cache_only, because it is probably a little bit faster and we're going to access the lock_file variable anyway. It's also more generic. Closes GH-11341.
show more ...
|
#
dcf2810c |
| 28-Feb-2023 |
Dmitry Stogov |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix Zend/tests/type_declarations/variance/class_order_autoload1.phpt test failre introduced by 44e5c04e5546e60cdbc31360adf3876b7c706152
|
#
18b43d29 |
| 28-Feb-2023 |
Dmitry Stogov |
Fix Zend/tests/type_declarations/variance/class_order_autoload1.phpt test failre introduced by 44e5c04e5546e60cdbc31360adf3876b7c706152 This ASSERT-ion path was never reached becuase of
Fix Zend/tests/type_declarations/variance/class_order_autoload1.phpt test failre introduced by 44e5c04e5546e60cdbc31360adf3876b7c706152 This ASSERT-ion path was never reached becuase of the bug fixed by 44e5c04e5546e60cdbc31360adf3876b7c706152. It's possible in case of circular class dependencies that may resolved by __autoload(). Unfortunately these circular dependencies can't be stored in the inheritace cahce.
show more ...
|
#
44e5c04e |
| 27-Feb-2023 |
Dmitry Stogov |
Fix incorrect inheritance cache update (#10719) |
#
2e3fc8c0 |
| 27-Feb-2023 |
Dmitry Stogov |
Fix incorrect inheritance cache update (#10719) |
#
bf2e778c |
| 26-Feb-2023 |
David Carlier |
Merge branch 'PHP-8.1' into PHP-8.2
|
#
eb7bb343 |
| 25-Feb-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix format string mistake in accel_move_code_to_huge_pages() inode is unsigned, so use %lu instead of %ld |
#
0d9bf101 |
| 25-Jan-2023 |
George Peter Banyard |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Fix incorrect check in cs_8559_5 in map_from_unicode() Fix incorrect page_size check
|
#
b7a158a1 |
| 23-Jan-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix incorrect page_size check The current check always evaluated to false because if `!page_size` is true, then `page_size & (page_size - 1)` equals `0 & (0 - 1)` which is always 0.
Fix incorrect page_size check The current check always evaluated to false because if `!page_size` is true, then `page_size & (page_size - 1)` equals `0 & (0 - 1)` which is always 0. The if condition is meant to check if page_size is zero or not a power of two, thus we must change the AND to an OR to fix this issue. Closes GH-10427 Signed-off-by: George Peter Banyard <girgias@php.net>
show more ...
|
#
c714e626 |
| 22-Dec-2022 |
Ilija Tovilo |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: Initialize ping_auto_globals_mask to prevent undefined behaviour
|
#
c4487b7a |
| 17-Dec-2022 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Initialize ping_auto_globals_mask to prevent undefined behaviour Closes GH-10121 |
#
5563535e |
| 25-Nov-2022 |
Arnaud Le Blanc |
Merge branch 'PHP-8.1' into PHP-8.2 * PHP-8.1: [ci skip] NEWS Do not resolve constants on non-linked class during preloading (#9975)
|