xref: /PHP-5.6/ext/opcache/tests/bug69281.phpt (revision 86f983bd)
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
8--SKIPIF--
9<?php require_once('skipif.inc'); ?>
10--FILE--
11<?php
12var_dump(opcache_is_script_cached(__FILE__));
13var_dump(opcache_is_script_cached("nonexistent.php"));
14?>
15--EXPECT--
16bool(true)
17bool(false)
18