1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 09:28:21 +02:00
Files
archived-php-src/ext/opcache/tests/warning_replay.phpt
T
Max Semenik e9f783fcdd Migrate skip checks to --EXTENSIONS--, p3
For rationale, see #6787

Extensions migrated in part 3:
* ftp
* gmp
* iconv
* opcache
* shmop
2021-04-03 15:23:25 +02:00

18 lines
399 B
PHP

--TEST--
Opcache should replay compilation warnings if opcache.record_warnings=1
--INI--
opcache.record_warnings=1
--EXTENSIONS--
opcache
--FILE--
<?php
require __DIR__ . '/warning_replay.inc';
require __DIR__ . '/warning_replay.inc';
?>
--EXPECTF--
Warning: Unsupported declare 'unknown' in %swarning_replay.inc on line 3
Warning: Unsupported declare 'unknown' in %swarning_replay.inc on line 3