Created
October 12, 2017 07:38
-
-
Save rabehasy/76cea2d642a374c4345f2c0f5c867c3d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* From: https://github.com/mikehaertl/php-shellcommand/blob/master/src/Command.php | |
* @return bool whether we are on a Windows OS | |
*/ | |
function getIsWindows() | |
{ | |
return strncasecmp(PHP_OS, 'WIN', 3)===0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment