1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
  Report warning if JIT cannot be enabled
This commit is contained in:
Ilija Tovilo
2023-10-11 12:12:30 +02:00
2 changed files with 4 additions and 0 deletions

3
NEWS
View File

@@ -5,6 +5,9 @@ PHP NEWS
- Core:
. Fixed double-free of non-interned enum case name. (ilutov)
- Opcache:
. Added warning when JIT cannot be enabled. (danog)
12 Oct 2023, PHP 8.3.0RC4
- Core:

View File

@@ -3253,6 +3253,7 @@ static zend_result accel_post_startup(void)
|| zend_jit_startup(ZSMMG(reserved), jit_size, reattached) != SUCCESS) {
JIT_G(enabled) = false;
JIT_G(on) = false;
zend_accel_error(ACCEL_LOG_WARNING, "Could not enable JIT!");
}
}
#endif