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
7--INI--
8opcache.enable=1
9opcache.enable_cli=1
10opcache.file_cache_only=0
11opcache.log_verbosity_level=4
12--SKIPIF--
13<?php require_once('skipif.inc'); ?>
14--FILE--
15<?php
16echo "Foo Bar\n";
17opcache_reset();
18echo "Opcache reset";
19?>
20--EXPECTF--
21%s Message Cached script '%sbasic_logging%s'
22Foo Bar
23%s Debug Restart Scheduled! Reason: user
24Opcache reset
25