public static function isReadable($filename)
	{
		if (!is_readable($filename))
			return false;

		if ((self::isWindowsOS() || self::isMacOS()) && (count(glob($filename . '*')) == 0))
			throw new \Xmlnuke\Core\Exception\CaseMismatchException(
				'Your operating system is not case sensitive and it can find the file "' . $filename . '" ' .
				'with different uppercase and lowercase combination in your name. ' .
				'However Xmlnuke will not accept it for ensure your code will run on any platform.'
			);
		else
			return true;
	}
public static function isReadable($filename)
	{
		if (!is_readable($filename))
			return false;

		if ((self::isWindowsOS() || self::isMacOS()) && (count(glob($filename . '*')) == 0))
			throw new \Xmlnuke\Core\Exception\CaseMismatchException(
				'Your operating system is not case sensitive and it can find the file "' . $filename . '" ' .
				'with different uppercase and lowercase combination in your name. ' .
				'However Xmlnuke will not accept it for ensure your code will run on any platform.'
			);
		else
			return true;
	}
public static function isReadable ( $ filename ) { if ( ! is_readable ( $ filename ) ) return false ; if ( ( self :: isWindowsOS ( ) || self :: isMacOS ( ) ) && ( count ( glob ( $ filename . '*' ) ) == 0 ) ) throw new \ Xmlnuke \ Core \ Exception \ CaseMismatchException ( 'Your operating system is not case sensitive and it can find the file "' . $ filename . '" ' . 'with different uppercase and lowercase combination in your name. ' . 'However Xmlnuke will not accept it for ensure your code will run on any platform.' ) ; else return true ; }
Check if the file is readable across all platforms
@param string $filename
@return bool The filename matches with your spelling name.
Check if the file is readable across all platforms