Skip to content

Commit 702c189

Browse files
committed
Fix test for repeatable run
1 parent 3d0e522 commit 702c189

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/opcache/tests/opcache_revalidation_in_cli.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ file_put_contents($file, <<<PHP
1515
<?php
1616
return 42;
1717
PHP);
18+
19+
var_dump(opcache_invalidate($file));
20+
1821
var_dump(include $file);
1922

2023
file_put_contents($file, <<<PHP
@@ -33,6 +36,7 @@ var_dump(include $file);
3336

3437
?>
3538
--EXPECT--
39+
bool(true)
3640
int(42)
3741
int(42)
3842
int(1234)

0 commit comments

Comments
 (0)