com php-src: JIT: Update invalid opcache.jit INI value message to include "tracing" and "function" values: ext/opcache/jit/zend_jit.c

From: Date: Tue, 15 Dec 2020 09:18:33 +0000
Subject: com php-src: JIT: Update invalid opcache.jit INI value message to include "tracing" and "function" values: ext/opcache/jit/zend_jit.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-114450@lists.php.net to get a copy of this message
Commit: 724e241c9d9ab88e5b6fdc6d074aa956e9baa523 Author: Ayesh Karunaratne <ayesh@ayesh.me> Thu, 3 Dec 2020 04:07:47 +0700 Committer: Nikita Popov <nikita.ppv@gmail.com> Tue, 15 Dec 2020 10:18:33 +0100 Parents: b6d043aae25ea872f9768e19e0999545ab0298f1 Branches: PHP-8.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=724e241c9d9ab88e5b6fdc6d074aa956e9baa523 Log: 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. Changed paths: M ext/opcache/jit/zend_jit.c Diff: diff --git a/ext/opcache/jit/zend_jit.c b/ext/opcache/jit/zend_jit.c index b96bcd516d2...eb80d5240bc 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;

« previous php.cvs (#114450) next »