xref: /PHP-7.4/ext/opcache/tests/bug69281.phpt (revision 3abde432)
1--TEST--
2Test that script cached info is correct with validate_timestamps disabled
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.validate_timestamps=0
8opcache.file_cache_only=0
9--SKIPIF--
10<?php require_once('skipif.inc'); ?>
11--FILE--
12<?php
13var_dump(opcache_is_script_cached(__FILE__));
14var_dump(opcache_is_script_cached("nonexistent.php"));
15?>
16--EXPECT--
17bool(true)
18bool(false)
19