summaryrefslogtreecommitdiff
path: root/tests/lang
diff options
context:
space:
mode:
authorStricted <info@stricted.net>2017-01-25 08:34:24 +0100
committerJoe Watkins <krakjoe@php.net>2017-01-25 20:50:14 +0000
commitbb059fe0a78af864ce62a658adcd22c931de127e (patch)
tree3d6603b5041dd9256e771589bcd7fe60cf669322 /tests/lang
parent4a72d340a334be11aa529c4a24c8f5b2d531f364 (diff)
downloadphp-git-bb059fe0a78af864ce62a658adcd22c931de127e.tar.gz
add PHP_OS_FAMILY constant to determine on which os we are
Diffstat (limited to 'tests/lang')
-rw-r--r--tests/lang/bug38579.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lang/bug38579.phpt b/tests/lang/bug38579.phpt
index 445296c222..3c96e7f50f 100644
--- a/tests/lang/bug38579.phpt
+++ b/tests/lang/bug38579.phpt
@@ -2,7 +2,7 @@
Bug #38579 (include_once() may include the same file twice)
--SKIPIF--
<?php
-if (substr(PHP_OS, 0, 3) != 'WIN') {
+if(PHP_OS_FAMILY !== "WIN") {
die('skip only for Windows');
}
?>