summaryrefslogtreecommitdiff
path: root/tests/skipifcli.inc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/skipifcli.inc')
-rw-r--r--tests/skipifcli.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/skipifcli.inc b/tests/skipifcli.inc
new file mode 100644
index 0000000..6aac5a0
--- /dev/null
+++ b/tests/skipifcli.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?>