mirror of
https://github.com/php/php-src.git
synced 2024-09-23 02:47:26 +00:00
18 lines
393 B
Plaintext
18 lines
393 B
Plaintext
|
--TEST--
|
||
|
Test that script cached info is correct with validate_timestamps disabled
|
||
|
--INI--
|
||
|
opcache.enable=1
|
||
|
opcache.enable_cli=1
|
||
|
opcache.file_update_protection=0
|
||
|
opcache.validate_timestamps=0
|
||
|
--SKIPIF--
|
||
|
<?php require_once('skipif.inc'); ?>
|
||
|
--FILE--
|
||
|
<?php
|
||
|
var_dump(opcache_is_script_cached(__FILE__));
|
||
|
var_dump(opcache_is_script_cached("nonexistent.php"));
|
||
|
?>
|
||
|
--EXPECT--
|
||
|
bool(true)
|
||
|
bool(false)
|