1--TEST--
2Test basic logging for the Opcache
3--DESCRIPTION--
4This test runs a simple PHP script and ensures the Opcache
5outputs the correct logging at the highest log_verbosity_level
6--INI--
7opcache.enable=1
8opcache.enable_cli=1
9opcache.file_cache_only=0
10opcache.error_log=
11opcache.log_verbosity_level=4
12opcache.huge_code_pages=0
13opcache.preload=
14opcache.interned_strings_buffer=8
15--EXTENSIONS--
16opcache
17--SKIPIF--
18<?php
19// Prints "Debug Restarting!" message on next request.
20if (getenv('SKIP_REPEAT')) die("skip Not repeatable");
21?>
22--FILE--
23<?php
24echo "Foo Bar\n";
25opcache_reset();
26echo "Opcache reset";
27?>
28--EXPECTF--
29%s Message Cached script '%sbasic_logging%s'
30Foo Bar
31%s Debug Restart Scheduled! Reason: user
32Opcache reset
33