summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/skipif.inc
diff options
context:
space:
mode:
Diffstat (limited to 'ext/opcache/tests/skipif.inc')
-rw-r--r--ext/opcache/tests/skipif.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/opcache/tests/skipif.inc b/ext/opcache/tests/skipif.inc
new file mode 100644
index 0000000000..c5a8181039
--- /dev/null
+++ b/ext/opcache/tests/skipif.inc
@@ -0,0 +1,3 @@
+<?php
+ if (!extension_loaded('Zend OPcache')) die('skip Zend OPcache extension not available');
+?>