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=
14--SKIPIF--
15<?php require_once('skipif.inc'); ?>
16--FILE--
17<?php
18echo "Foo Bar\n";
19opcache_reset();
20echo "Opcache reset";
21?>
22--EXPECTF--
23%s Message Cached script '%sbasic_logging%s'
24Foo Bar
25%s Debug Restart Scheduled! Reason: user
26Opcache reset
27