/** * * @return type */ protected static function environmentIsWindows() { // define a static property rather than looking up every time it is needed if (null === self::$EnvironmentIsWindows) { self::$EnvironmentIsWindows = strtolower(substr(PHP_OS, 0, 3)) == 'win'; } return self::$EnvironmentIsWindows; }