From: Ayesh Karunaratne Date: Wed, 2 Dec 2020 21:07:47 +0000 (+0700) Subject: JIT: Update invalid opcache.jit INI value message to include "tracing" and "function... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=724e241c9d9ab88e5b6fdc6d074aa956e9baa523;p=php JIT: Update invalid opcache.jit INI value message to include "tracing" and "function" values `opcache.jit` accepts `tracing` and `function` as aliases, but they were not mentioned in the start-up INI warning message. This updates the error message to include all possible values. Closes GH-6490. --- diff --git a/ext/opcache/jit/zend_jit.c b/ext/opcache/jit/zend_jit.c index b96bcd516d..eb80d5240b 100644 --- a/ext/opcache/jit/zend_jit.c +++ b/ext/opcache/jit/zend_jit.c @@ -4129,7 +4129,7 @@ ZEND_EXT_API int zend_jit_config(zend_string *jit, int stage) } failure: - zend_error(E_WARNING, "Invalid \"opcache.jit\" setting. Should be \"disable\", \"on\", \"off\" or 4-digit number"); + zend_error(E_WARNING, "Invalid \"opcache.jit\" setting. Should be \"disable\", \"on\", \"off\", \"tracing\", \"function\" or 4-digit number"); JIT_G(enabled) = 0; JIT_G(on) = 0; return FAILURE;