summaryrefslogtreecommitdiff
path: root/ext/opcache/tests
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2017-01-14 07:33:08 +0000
committerJoe Watkins <krakjoe@php.net>2017-01-14 07:33:08 +0000
commit687b02789e3bad3137eba4bff74273c6eb6f1aba (patch)
tree1d86843dcb46e3fa6ce28eab9d9136e5a7c0ee48 /ext/opcache/tests
parentd79b82d8ae52e52e4cb30366fd4a9393597a9ab0 (diff)
parentfbf655afbd1cc5b5a9c9e03405c62ae714425435 (diff)
downloadphp-git-687b02789e3bad3137eba4bff74273c6eb6f1aba.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Added test for "opcache: print restart reason" to basic_logging.phpt
Diffstat (limited to 'ext/opcache/tests')
-rw-r--r--ext/opcache/tests/basic_logging.phpt4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/opcache/tests/basic_logging.phpt b/ext/opcache/tests/basic_logging.phpt
index 4a571b5b93..f0ecd6fbaa 100644
--- a/ext/opcache/tests/basic_logging.phpt
+++ b/ext/opcache/tests/basic_logging.phpt
@@ -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