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