Skip to content

Commit 8d75fcd

Browse files
committed
Fix test for repeatable run
1 parent 3d0e522 commit 8d75fcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ext/opcache/tests/opcache_revalidation_in_cli.phpt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ opcache.revalidate_freq=1
1111
<?php
1212
$file = __DIR__ . DIRECTORY_SEPARATOR . pathinfo(__FILE__, PATHINFO_FILENAME) . '.inc';
1313

14+
var_dump(opcache_invalidate($file));
15+
1416
file_put_contents($file, <<<PHP
1517
<?php
1618
return 42;
@@ -33,6 +35,7 @@ var_dump(include $file);
3335

3436
?>
3537
--EXPECT--
38+
bool(true)
3639
int(42)
3740
int(42)
3841
int(1234)

0 commit comments

Comments
 (0)