1--TEST--
2Opcache should replay compilation warnings if opcache.record_warnings=1
3--INI--
4opcache.record_warnings=1
5--FILE--
6<?php
7
8require __DIR__ . '/warning_replay.inc';
9require __DIR__ . '/warning_replay.inc';
10
11?>
12--EXPECTF--
13Warning: Unsupported declare 'unknown' in %swarning_replay.inc on line 3
14
15Warning: Unsupported declare 'unknown' in %swarning_replay.inc on line 3
16