Skip to content

Commit e6a191d

Browse files
committed
Prevent test case failure
If opcache.log_verbosity_level is greater than 1, opcache will raise warnings, which will be written to stderr in the default case. These warnings are actually to be expected, but would break the test, so we make sure that the log_verbosity_level is 1 when running this test.
1 parent 5f8c22d commit e6a191d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/opcache/tests/bug66461.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Bug #66461 (PHP crashes if opcache.interned_strings_buffer=0)
44
opcache.enable=1
55
opcache.enable_cli=1
66
opcache.optimization_level=-1
7+
opcache.log_verbosity_level=1
78
opcache.file_update_protection=0
89
opcache.interned_strings_buffer=0
910
--SKIPIF--

0 commit comments

Comments
 (0)