���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/rickpfrv/tie.cx/vendor/whichbrowser/parser/src/Analyser/Header/Puffin.php
���ѧ٧ѧ�
<?php namespace WhichBrowser\Analyser\Header; use WhichBrowser\Data; class Puffin { public function __construct($header, &$data) { $this->data =& $data; $parts = explode('/', $header); if ($this->data->browser->name != 'Puffin') { $this->data->browser->name = 'Puffin'; $this->data->browser->version = null; $this->data->browser->stock = false; } $this->data->device->type = 'mobile'; if (count($parts) > 1 && $parts[0] == 'Android') { if (!isset($this->data->os->name) || $this->data->os->name != 'Android') { $this->data->os->name = 'Android'; $this->data->os->version = null; } $device = Data\DeviceModels::identify('android', $parts[1]); if ($device->identified) { $device->identified |= $this->data->device->identified; $this->data->device = $device; } } if (count($parts) > 1 && $parts[0] == 'iPhone OS') { if (!isset($this->data->os->name) || $this->data->os->name != 'iOS') { $this->data->os->name = 'iOS'; $this->data->os->version = null; } $device = Data\DeviceModels::identify('ios', $parts[1]); if ($device->identified) { $device->identified |= $this->data->device->identified; $this->data->device = $device; } } } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.5 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�