Skip to content

Commit fbf655a

Browse files
mhagstrandkrakjoe
authored andcommitted
Added test for "opcache: print restart reason" to basic_logging.phpt
1 parent a4accc0 commit fbf655a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ext/opcache/tests/basic_logging.phpt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ opcache.log_verbosity_level=4
1414
--FILE--
1515
<?php
1616
echo "Foo Bar\n";
17+
opcache_reset();
18+
echo "Opcache reset";
1719
?>
1820
--EXPECTF--
1921
%s Message Cached script '%sbasic_logging%s'
2022
Foo Bar
23+
%s Debug Restart Scheduled! Reason: user
24+
Opcache reset

0 commit comments

Comments
 (0)