]> granicus.if.org Git - php/commitdiff
Added test for "opcache: print restart reason" to basic_logging.phpt
authorMitch Hagstrand <mhagstrand@gmail.com>
Sat, 14 Jan 2017 00:33:05 +0000 (16:33 -0800)
committerJoe Watkins <krakjoe@php.net>
Sat, 14 Jan 2017 07:32:55 +0000 (07:32 +0000)
ext/opcache/tests/basic_logging.phpt

index 4a571b5b93c6712031d2905fe87dc1b96b5526c6..f0ecd6fbaa75913066a13974b5f15daf1d104aac 100644 (file)
@@ -14,7 +14,11 @@ opcache.log_verbosity_level=4
 --FILE--
 <?php
 echo "Foo Bar\n";
+opcache_reset();
+echo "Opcache reset";
 ?>
 --EXPECTF--
 %s Message Cached script '%sbasic_logging%s'
 Foo Bar
+%s Debug Restart Scheduled! Reason: user
+Opcache reset