fiftyone_degrees_preg_match_all('#(?<=;)([^;\\)]+)(?=Build/)#', $useragent), 1 => fiftyone_degrees_preg_match_all('#(?<=\\w\\w(_|-)\\w\\w;)[^;\\)]+#', $useragent), 2 => fiftyone_degrees_preg_match_all('#(?<=;\\sAndroid)[\\d\\s][^;\\)]+#', $useragent), 3 => fiftyone_degrees_preg_match_all('#(?<=UCWEB)\\d+\\.\\d+|(?<=UCWEB/)\\d+\\.\\d+#', $useragent), 4 => fiftyone_degrees_preg_match_all('#(?<=UC Browser)\\d+\\.\\d+#', $useragent), 5 => fiftyone_degrees_preg_match_all('#(?<=UP\\.Browser)[\\d\\.]+#', $useragent), 6 => fiftyone_degrees_preg_match_all('#(?<=Opera/)\\d+\\.\\d+|(?<=Opera )\\d+\\.\\d+#', $useragent), 7 => fiftyone_degrees_preg_match_all('#(?<=Opera Mini/)\\d+\\.\\d+#', $useragent), 8 => fiftyone_degrees_preg_match_all('#(?<=Opera Mobi/)\\d+\\.\\d+#', $useragent), 9 => fiftyone_degrees_preg_match_all('#(?<=Version/)\\d+\\.\\d+#', $useragent), 10 => fiftyone_degrees_preg_match_all('#(?<=Ninesky-android-mobile/)\\d+\\.\\d+#', $useragent), 11 => fiftyone_degrees_preg_match_all('#(?<=CrMo/)\\d+#', $useragent), 12 => fiftyone_degrees_preg_match_all('#(?<=Chrome/)\\d+#', $useragent), 13 => fiftyone_degrees_preg_match_all('#(?<=AppleWebKit/)[\\d\\.\\+]+#', $useragent), 14 => fiftyone_degrees_preg_match_all('#(?<=Mobile Safari/)[\\d\\.]+#', $useragent), 15 => fiftyone_degrees_preg_match_all('#(?<=Flipboard/)\\d+\\.\\d+#', $useragent), 16 => fiftyone_degrees_preg_match_all('#OPR/\\d+\\.\\d+#', $useragent)); $ns = E18($segments, array(0 => array(0 => ' GT-I9100X '), 1 => array(0 => ' GT-I9100X Build/GINGERBREAD'), 2 => array(0 => ' 2.4'), 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, 9 => array(0 => '4.0'), 10 => NULL, 11 => NULL, 12 => NULL, 13 => array(0 => '533.1'), 14 => array(0 => '533.1'), 15 => NULL, 16 => NULL), $ls); if ($ns <= $ls) { if ($ns < $ls) { unset($dl); } $dl[] = array(224749,90522,90528,913, 'Mozilla/5.0 (Linux; U; Android 2.4; en-gb; GT-I9100X Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '15575-5629-15760-18092'); $ls = $ns; } $ns = E18($segments, array(0 => array(0 => ' Nexus One '), 1 => array(0 => ' Nexus One Build/GRH84'), 2 => array(0 => ' 2.4'), 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, 9 => array(0 => '4.0'), 10 => NULL, 11 => NULL, 12 => NULL, 13 => array(0 => '533.1'), 14 => array(0 => '533.1'), 15 => NULL, 16 => NULL), $ls); if ($ns <= $ls) { if ($ns < $ls) { unset($dl); } $dl[] = array(138951,90522,90528,913, 'Mozilla/5.0 (Linux; U; Android 2.4; en-us; Nexus One Build/GRH84) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '16036-5629-15760-18092'); $ls = $ns; } $ns = E18($segments, array(0 => array(0 => ' Nexus One '), 1 => array(0 => ' Nexus One Build/GRI05'), 2 => array(0 => ' 2.4'), 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, 9 => array(0 => '4.0'), 10 => NULL, 11 => NULL, 12 => NULL, 13 => array(0 => '533.1'), 14 => array(0 => '533.1'), 15 => NULL, 16 => NULL), $ls); if ($ns <= $ls) { if ($ns < $ls) { unset($dl); } $dl[] = array(138951,90522,90528,913, 'Mozilla/5.0 (Linux; U; Android 2.4; en-gb; Nexus One Build/GRI05) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '16036-5629-15760-18092'); $ls = $ns; } $ns = E18($segments, array(0 => array(0 => ' Nexus S '), 1 => array(0 => ' Nexus S Build/GRI16B'), 2 => array(0 => ' 2.4'), 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, 9 => array(0 => '4.0'), 10 => NULL, 11 => NULL, 12 => NULL, 13 => array(0 => '533.1'), 14 => array(0 => '533.1'), 15 => NULL, 16 => NULL), $ls); if ($ns <= $ls) { if ($ns < $ls) { unset($dl); } $dl[] = array(288156,90522,90528,913, 'Mozilla/5.0 (Linux; U; Android 2.4; en-us; Nexus S Build/GRI16B) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '14574-5629-15760-18092'); $ls = $ns; } $ns = E18($segments, array(0 => array(0 => ' Nexus S '), 1 => array(0 => ' Nexus S Build/GRH84'), 2 => array(0 => ' 2.4'), 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, 9 => array(0 => '4.0'), 10 => NULL, 11 => NULL, 12 => NULL, 13 => array(0 => '533.1'), 14 => array(0 => '533.1'), 15 => NULL, 16 => NULL), $ls); if ($ns <= $ls) { if ($ns < $ls) { unset($dl); } $dl[] = array(288156,90522,90528,913, 'Mozilla/5.0 (Linux; U; Android 2.4; en-gb; Nexus S Build/GRH84) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '14574-5629-15760-18092'); $ls = $ns; } $ns = E18($segments, array(0 => array(0 => ' Nexus S '), 1 => array(0 => ' Nexus S Build/GINGERBREAD'), 2 => array(0 => ' 2.4'), 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, 9 => array(0 => '4.0'), 10 => NULL, 11 => NULL, 12 => NULL, 13 => array(0 => '533.1'), 14 => array(0 => '533.1'), 15 => NULL, 16 => NULL), $ls); if ($ns <= $ls) { if ($ns < $ls) { unset($dl); } $dl[] = array(288156,90522,90528,913, 'Mozilla/5.0 (Linux; U; Android 2.4; en-us; Nexus S Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '14574-5629-15760-18092'); $ls = $ns; } $ns = E18($segments, array(0 => array(0 => ' Nexus S '), 1 => array(0 => ' Nexus S Build/GRI06B'), 2 => array(0 => ' 2.4'), 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, 9 => array(0 => '4.0'), 10 => NULL, 11 => NULL, 12 => NULL, 13 => array(0 => '533.1'), 14 => array(0 => '533.1'), 15 => NULL, 16 => NULL), $ls); if ($ns <= $ls) { if ($ns < $ls) { unset($dl); } $dl[] = array(288156,90522,90528,913, 'Mozilla/5.0 (Linux; U; Android 2.4; en-us; Nexus S Build/GRI06B) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '14574-5629-15760-18092'); $ls = $ns; } $ns = E18($segments, array(0 => array(0 => ' Full Android on Crespo '), 1 => array(0 => ' Full Android on Crespo Build/GINGERBREAD'), 2 => array(0 => ' 2.4'), 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, 9 => array(0 => '4.0'), 10 => NULL, 11 => NULL, 12 => NULL, 13 => array(0 => '533.1'), 14 => array(0 => '533.1'), 15 => NULL, 16 => NULL), $ls); if ($ns <= $ls) { if ($ns < $ls) { unset($dl); } $dl[] = array(288156,90522,90528,913, 'Mozilla/5.0 (Linux; U; Android 2.4; en-us; Full Android on Crespo Build/GINGERBREAD) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '14574-5629-15760-18092'); $ls = $ns; } $ns = E18($segments, array(0 => array(0 => ' Dell Venue '), 1 => array(0 => ' Dell Venue Build/MIUI'), 2 => array(0 => ' 2.4.27'), 3 => NULL, 4 => NULL, 5 => NULL, 6 => NULL, 7 => NULL, 8 => NULL, 9 => array(0 => '4.0'), 10 => NULL, 11 => NULL, 12 => NULL, 13 => array(0 => '533.1'), 14 => array(0 => '533.1'), 15 => NULL, 16 => NULL), $ls); if ($ns <= $ls) { if ($ns < $ls) { unset($dl); } $dl[] = array(516439,90522,90528,913, 'Mozilla/5.0 (Linux; U; Android 2.4.27; en-us; Dell Venue Build/MIUI) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1', '16954-5629-15760-18092'); $ls = $ns; } return $dl; }