private static function Helper::isWindows in Drupal 7
Return value
bool
2 calls to Helper::isWindows()
- Helper::getCanonicalPath in misc/
typo3/ phar-stream-wrapper/ src/ Helper.php - Resolves all dots, slashes and removes spaces after or before a path...
- Helper::isAbsolutePath in misc/
typo3/ phar-stream-wrapper/ src/ Helper.php - Checks if the $path is absolute or relative (detecting either '/' or 'x:/' as first part of string) and returns TRUE if so.
File
- misc/
typo3/ phar-stream-wrapper/ src/ Helper.php, line 195
Class
- Helper
- Helper provides low-level tools on file name resolving. However it does not (and should not) maintain any runtime state information. In order to resolve Phar archive paths according resolvers have to be used.
Namespace
TYPO3\PharStreamWrapperCode
private static function isWindows() {
return stripos(PHP_OS, 'WIN') === 0;
}