xref: /PHP-5.3/sapi/cgi/tests/skipif.inc (revision a0370cd7)
1<?php
2
3if (substr(php_sapi_name(), 0, 3) == "cgi") {
4	exit;
5}
6
7if (substr(PHP_OS, 0, 3) == 'WIN') {
8	die ("skip not for Windows");
9}
10
11include dirname(__FILE__)."/include.inc";
12
13if (!get_cgi_path()) {
14	die("skip CGI not found");
15}
16
17?>
18