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.
This commit is contained in:
Niels Dossche 2023-03-04 01:45:46 +01:00 committed by nielsdos
parent 4c38a79f09
commit 691ff9f845
3 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,7 @@
--TEST--
Bug #39542 (Behaviour of require_once/include_once different to < 5.2.0)
--INI--
error_log=
--FILE--
<?php
$oldcwd = getcwd();

View File

@ -1,5 +1,7 @@
--TEST--
Bug #79919 (Stack use-after-scope in define())
--INI--
error_log=
--EXTENSIONS--
simplexml
--FILE--

View File

@ -1,6 +1,7 @@
--TEST--
Bug #80839: PHP problem with JIT
--INI--
error_log=
opcache.enable=1
opcache.enable_cli=1
opcache.jit_buffer_size=1M