diff options
author | Stricted <info@stricted.net> | 2017-01-25 08:34:24 +0100 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-01-25 20:50:14 +0000 |
commit | bb059fe0a78af864ce62a658adcd22c931de127e (patch) | |
tree | 3d6603b5041dd9256e771589bcd7fe60cf669322 /tests/output/sapi_windows_vt100_support_winko_err.phpt | |
parent | 4a72d340a334be11aa529c4a24c8f5b2d531f364 (diff) | |
download | php-git-bb059fe0a78af864ce62a658adcd22c931de127e.tar.gz |
add PHP_OS_FAMILY constant to determine on which os we are
Diffstat (limited to 'tests/output/sapi_windows_vt100_support_winko_err.phpt')
-rw-r--r-- | tests/output/sapi_windows_vt100_support_winko_err.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/output/sapi_windows_vt100_support_winko_err.phpt b/tests/output/sapi_windows_vt100_support_winko_err.phpt index 4357c741af..9c85a20725 100644 --- a/tests/output/sapi_windows_vt100_support_winko_err.phpt +++ b/tests/output/sapi_windows_vt100_support_winko_err.phpt @@ -5,7 +5,7 @@ Test sapi_windows_vt100_support on older Windows versions with redirected STDERR if (getenv("SKIP_IO_CAPTURE_TESTS")) { die("skip I/O capture test"); } -if (stripos(PHP_OS, 'WIN') !== 0) { +if(PHP_OS_FAMILY !== "WIN") { echo "skip Only for Windows systems"; } elseif (version_compare( PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD, |