From 691ff9f845f11ed6f5d187d7a781ad86d689bf76 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sat, 4 Mar 2023 01:45:46 +0100 Subject: [PATCH] Set error_log to an empty value if the test relies on that feature Some tests fail if the error_log is overriden by the loaded ini configuration. Explicitly set it to an empty value to prevent the failures. See https://github.com/php/php-src/issues/10737#issuecomment-1452899299 Closes GH-10772. --- Zend/tests/bug39542.phpt | 2 ++ Zend/tests/bug79919.phpt | 2 ++ ext/opcache/tests/jit/bug80861.phpt | 1 + 3 files changed, 5 insertions(+) diff --git a/Zend/tests/bug39542.phpt b/Zend/tests/bug39542.phpt index 79c1c56e918..d2023673ef0 100644 --- a/Zend/tests/bug39542.phpt +++ b/Zend/tests/bug39542.phpt @@ -1,5 +1,7 @@ --TEST-- Bug #39542 (Behaviour of require_once/include_once different to < 5.2.0) +--INI-- +error_log= --FILE--