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