public static function UnishTestCase::is_windows

8.0.x UnishTestCase.php public static UnishTestCase::is_windows()
7.x UnishTestCase.php public static UnishTestCase::is_windows()
master UnishTestCase.php public static UnishTestCase::is_windows()
15 calls to UnishTestCase::is_windows()

File

tests/Unish/UnishTestCase.php, line 98

Namespace

Unish

Class

UnishTestCase

Code

public static function is_windows() {
  return (strtoupper(substr(PHP_OS, 0, 3)) == "WIN");
}