protected static function os() { if (preg_match('#(win|mac|linux|bsd|sunos|syllable|irix|beos|os/2|aix|amiga|symbian|react|blackberry|iphone|javafx|palm|nintendo|playstation)#', self::$ua, $match)) { self::$os = 'win' === $match[1] ? 'windows' : $match[1]; } }