summaryrefslogtreecommitdiff
path: root/tests/skipifnotcli.inc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/skipifnotcli.inc')
-rw-r--r--tests/skipifnotcli.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/skipifnotcli.inc b/tests/skipifnotcli.inc
new file mode 100644
index 0000000..6021b74
--- /dev/null
+++ b/tests/skipifnotcli.inc
@@ -0,0 +1,8 @@
1<?php
2if (php_sapi_name()!='cli') {
3 print 'skip - SAPI != cli';
4} else {
5if(!extension_loaded("suhosin7"))
6 print "skip - SUHOSIN7 extension not available";
7}
8?>