1--TEST--
2Test get_browser() function : basic functionality
3--INI--
4browscap={PWD}/browscap.ini
5--SKIPIF--
6<?php
7	/**
8	 * Basic test, it would be pretty much coincidence if there's
9	 * a browscap.ini on another place that isn't valid.
10	 */
11	if(! is_readable( ini_get( 'browscap' ) ) ) {
12		die( 'skip: browscap.ini file ' . ini_get('browscap') . " not readable" );
13	}
14?>
15--FILE--
16<?php
17/* Prototype  : mixed get_browser([string browser_name [, bool return_array]])
18 * Description: Get information about the capabilities of a browser.
19 * If browser_name is omitted or null, HTTP_USER_AGENT is used.
20 * Returns an object by default; if return_array is true, returns an array.
21 *
22 * Source code: ext/standard/browscap.c
23 * Alias to functions:
24 */
25
26$browsers = include dirname(__FILE__) . DIRECTORY_SEPARATOR . 'browsernames.inc';
27
28echo "*** Testing get_browser() : basic functionality ***\n";
29
30for( $x = 0; $x < 20; $x++) {
31	var_dump( get_browser( $browsers[$x], true ) );
32}
33
34?>
35===DONE===
36--EXPECT--
37*** Testing get_browser() : basic functionality ***
38array(35) {
39  ["browser_name_regex"]=>
40  string(41) "~^opera/7\.1.* \(windows nt 5\.1; .\).*$~"
41  ["browser_name_pattern"]=>
42  string(31) "Opera/7.1* (Windows NT 5.1; ?)*"
43  ["parent"]=>
44  string(9) "Opera 7.1"
45  ["platform"]=>
46  string(5) "WinXP"
47  ["win32"]=>
48  string(1) "1"
49  ["browser"]=>
50  string(5) "Opera"
51  ["version"]=>
52  string(3) "7.1"
53  ["majorver"]=>
54  string(1) "7"
55  ["minorver"]=>
56  string(1) "1"
57  ["frames"]=>
58  string(1) "1"
59  ["iframes"]=>
60  string(1) "1"
61  ["tables"]=>
62  string(1) "1"
63  ["cookies"]=>
64  string(1) "1"
65  ["backgroundsounds"]=>
66  string(1) "1"
67  ["javaapplets"]=>
68  string(1) "1"
69  ["javascript"]=>
70  string(1) "1"
71  ["css"]=>
72  string(1) "2"
73  ["cssversion"]=>
74  string(1) "2"
75  ["supportscss"]=>
76  string(1) "1"
77  ["alpha"]=>
78  string(0) ""
79  ["beta"]=>
80  string(0) ""
81  ["win16"]=>
82  string(0) ""
83  ["win64"]=>
84  string(0) ""
85  ["authenticodeupdate"]=>
86  string(0) ""
87  ["cdf"]=>
88  string(0) ""
89  ["vbscript"]=>
90  string(0) ""
91  ["activexcontrols"]=>
92  string(0) ""
93  ["stripper"]=>
94  string(0) ""
95  ["isbanned"]=>
96  string(0) ""
97  ["wap"]=>
98  string(0) ""
99  ["ismobiledevice"]=>
100  string(0) ""
101  ["issyndicationreader"]=>
102  string(0) ""
103  ["crawler"]=>
104  string(0) ""
105  ["aol"]=>
106  string(0) ""
107  ["aolversion"]=>
108  string(1) "0"
109}
110array(35) {
111  ["browser_name_regex"]=>
112  string(83) "~^mozilla/4\.0 \(compatible; msie 6\.0; msie 5\.5; windows nt 5\.0\) opera 7\.0.*$~"
113  ["browser_name_pattern"]=>
114  string(71) "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 5.0) Opera 7.0*"
115  ["parent"]=>
116  string(9) "Opera 7.0"
117  ["platform"]=>
118  string(7) "Win2000"
119  ["win32"]=>
120  string(1) "1"
121  ["browser"]=>
122  string(5) "Opera"
123  ["version"]=>
124  string(3) "7.0"
125  ["majorver"]=>
126  string(1) "7"
127  ["frames"]=>
128  string(1) "1"
129  ["iframes"]=>
130  string(1) "1"
131  ["tables"]=>
132  string(1) "1"
133  ["cookies"]=>
134  string(1) "1"
135  ["backgroundsounds"]=>
136  string(1) "1"
137  ["javaapplets"]=>
138  string(1) "1"
139  ["javascript"]=>
140  string(1) "1"
141  ["css"]=>
142  string(1) "2"
143  ["cssversion"]=>
144  string(1) "2"
145  ["supportscss"]=>
146  string(1) "1"
147  ["minorver"]=>
148  string(1) "0"
149  ["alpha"]=>
150  string(0) ""
151  ["beta"]=>
152  string(0) ""
153  ["win16"]=>
154  string(0) ""
155  ["win64"]=>
156  string(0) ""
157  ["authenticodeupdate"]=>
158  string(0) ""
159  ["cdf"]=>
160  string(0) ""
161  ["vbscript"]=>
162  string(0) ""
163  ["activexcontrols"]=>
164  string(0) ""
165  ["stripper"]=>
166  string(0) ""
167  ["isbanned"]=>
168  string(0) ""
169  ["wap"]=>
170  string(0) ""
171  ["ismobiledevice"]=>
172  string(0) ""
173  ["issyndicationreader"]=>
174  string(0) ""
175  ["crawler"]=>
176  string(0) ""
177  ["aol"]=>
178  string(0) ""
179  ["aolversion"]=>
180  string(1) "0"
181}
182array(35) {
183  ["browser_name_regex"]=>
184  string(83) "~^mozilla/4\.0 \(compatible; msie 6\.0; msie 5\.5; windows nt 4\.0\) opera 7\.0.*$~"
185  ["browser_name_pattern"]=>
186  string(71) "Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 4.0) Opera 7.0*"
187  ["parent"]=>
188  string(9) "Opera 7.0"
189  ["platform"]=>
190  string(5) "WinNT"
191  ["win32"]=>
192  string(1) "1"
193  ["browser"]=>
194  string(5) "Opera"
195  ["version"]=>
196  string(3) "7.0"
197  ["majorver"]=>
198  string(1) "7"
199  ["frames"]=>
200  string(1) "1"
201  ["iframes"]=>
202  string(1) "1"
203  ["tables"]=>
204  string(1) "1"
205  ["cookies"]=>
206  string(1) "1"
207  ["backgroundsounds"]=>
208  string(1) "1"
209  ["javaapplets"]=>
210  string(1) "1"
211  ["javascript"]=>
212  string(1) "1"
213  ["css"]=>
214  string(1) "2"
215  ["cssversion"]=>
216  string(1) "2"
217  ["supportscss"]=>
218  string(1) "1"
219  ["minorver"]=>
220  string(1) "0"
221  ["alpha"]=>
222  string(0) ""
223  ["beta"]=>
224  string(0) ""
225  ["win16"]=>
226  string(0) ""
227  ["win64"]=>
228  string(0) ""
229  ["authenticodeupdate"]=>
230  string(0) ""
231  ["cdf"]=>
232  string(0) ""
233  ["vbscript"]=>
234  string(0) ""
235  ["activexcontrols"]=>
236  string(0) ""
237  ["stripper"]=>
238  string(0) ""
239  ["isbanned"]=>
240  string(0) ""
241  ["wap"]=>
242  string(0) ""
243  ["ismobiledevice"]=>
244  string(0) ""
245  ["issyndicationreader"]=>
246  string(0) ""
247  ["crawler"]=>
248  string(0) ""
249  ["aol"]=>
250  string(0) ""
251  ["aolversion"]=>
252  string(1) "0"
253}
254array(35) {
255  ["browser_name_regex"]=>
256  string(69) "~^mozilla/4\.0 \(compatible; msie 5\.0; windows 2000\) opera 6\.0.*$~"
257  ["browser_name_pattern"]=>
258  string(59) "Mozilla/4.0 (compatible; MSIE 5.0; Windows 2000) Opera 6.0*"
259  ["parent"]=>
260  string(9) "Opera 6.0"
261  ["platform"]=>
262  string(7) "Win2000"
263  ["win32"]=>
264  string(1) "1"
265  ["browser"]=>
266  string(5) "Opera"
267  ["version"]=>
268  string(3) "6.0"
269  ["majorver"]=>
270  string(1) "6"
271  ["frames"]=>
272  string(1) "1"
273  ["iframes"]=>
274  string(1) "1"
275  ["tables"]=>
276  string(1) "1"
277  ["cookies"]=>
278  string(1) "1"
279  ["backgroundsounds"]=>
280  string(1) "1"
281  ["javaapplets"]=>
282  string(1) "1"
283  ["javascript"]=>
284  string(1) "1"
285  ["css"]=>
286  string(1) "1"
287  ["cssversion"]=>
288  string(1) "1"
289  ["supportscss"]=>
290  string(1) "1"
291  ["minorver"]=>
292  string(1) "0"
293  ["alpha"]=>
294  string(0) ""
295  ["beta"]=>
296  string(0) ""
297  ["win16"]=>
298  string(0) ""
299  ["win64"]=>
300  string(0) ""
301  ["authenticodeupdate"]=>
302  string(0) ""
303  ["cdf"]=>
304  string(0) ""
305  ["vbscript"]=>
306  string(0) ""
307  ["activexcontrols"]=>
308  string(0) ""
309  ["stripper"]=>
310  string(0) ""
311  ["isbanned"]=>
312  string(0) ""
313  ["wap"]=>
314  string(0) ""
315  ["ismobiledevice"]=>
316  string(0) ""
317  ["issyndicationreader"]=>
318  string(0) ""
319  ["crawler"]=>
320  string(0) ""
321  ["aol"]=>
322  string(0) ""
323  ["aolversion"]=>
324  string(1) "0"
325}
326array(35) {
327  ["browser_name_regex"]=>
328  string(68) "~^mozilla/4\.0 \(compatible; msie 5\.0; mac_powerpc\) opera 5\.0.*$~"
329  ["browser_name_pattern"]=>
330  string(58) "Mozilla/4.0 (compatible; MSIE 5.0; Mac_PowerPC) Opera 5.0*"
331  ["parent"]=>
332  string(9) "Opera 5.0"
333  ["platform"]=>
334  string(6) "MacPPC"
335  ["browser"]=>
336  string(5) "Opera"
337  ["version"]=>
338  string(3) "5.0"
339  ["majorver"]=>
340  string(1) "5"
341  ["frames"]=>
342  string(1) "1"
343  ["tables"]=>
344  string(1) "1"
345  ["cookies"]=>
346  string(1) "1"
347  ["backgroundsounds"]=>
348  string(1) "1"
349  ["javaapplets"]=>
350  string(1) "1"
351  ["javascript"]=>
352  string(1) "1"
353  ["css"]=>
354  string(1) "1"
355  ["cssversion"]=>
356  string(1) "1"
357  ["supportscss"]=>
358  string(1) "1"
359  ["minorver"]=>
360  string(1) "0"
361  ["alpha"]=>
362  string(0) ""
363  ["beta"]=>
364  string(0) ""
365  ["win16"]=>
366  string(0) ""
367  ["win32"]=>
368  string(0) ""
369  ["win64"]=>
370  string(0) ""
371  ["iframes"]=>
372  string(0) ""
373  ["authenticodeupdate"]=>
374  string(0) ""
375  ["cdf"]=>
376  string(0) ""
377  ["vbscript"]=>
378  string(0) ""
379  ["activexcontrols"]=>
380  string(0) ""
381  ["stripper"]=>
382  string(0) ""
383  ["isbanned"]=>
384  string(0) ""
385  ["wap"]=>
386  string(0) ""
387  ["ismobiledevice"]=>
388  string(0) ""
389  ["issyndicationreader"]=>
390  string(0) ""
391  ["crawler"]=>
392  string(0) ""
393  ["aol"]=>
394  string(0) ""
395  ["aolversion"]=>
396  string(1) "0"
397}
398array(35) {
399  ["browser_name_regex"]=>
400  string(65) "~^mozilla/4\.0 \(compatible; msie 6\.0; .*windows nt 5\.1.*\).*$~"
401  ["browser_name_pattern"]=>
402  string(53) "Mozilla/4.0 (compatible; MSIE 6.0; *Windows NT 5.1*)*"
403  ["parent"]=>
404  string(6) "IE 6.0"
405  ["platform"]=>
406  string(5) "WinXP"
407  ["browser"]=>
408  string(2) "IE"
409  ["version"]=>
410  string(3) "6.0"
411  ["majorver"]=>
412  string(1) "6"
413  ["win32"]=>
414  string(1) "1"
415  ["frames"]=>
416  string(1) "1"
417  ["iframes"]=>
418  string(1) "1"
419  ["tables"]=>
420  string(1) "1"
421  ["cookies"]=>
422  string(1) "1"
423  ["backgroundsounds"]=>
424  string(1) "1"
425  ["cdf"]=>
426  string(1) "1"
427  ["vbscript"]=>
428  string(1) "1"
429  ["javaapplets"]=>
430  string(1) "1"
431  ["javascript"]=>
432  string(1) "1"
433  ["activexcontrols"]=>
434  string(1) "1"
435  ["css"]=>
436  string(1) "2"
437  ["cssversion"]=>
438  string(1) "2"
439  ["supportscss"]=>
440  string(1) "1"
441  ["minorver"]=>
442  string(1) "0"
443  ["alpha"]=>
444  string(0) ""
445  ["beta"]=>
446  string(0) ""
447  ["win16"]=>
448  string(0) ""
449  ["win64"]=>
450  string(0) ""
451  ["authenticodeupdate"]=>
452  string(0) ""
453  ["stripper"]=>
454  string(0) ""
455  ["isbanned"]=>
456  string(0) ""
457  ["wap"]=>
458  string(0) ""
459  ["ismobiledevice"]=>
460  string(0) ""
461  ["issyndicationreader"]=>
462  string(0) ""
463  ["crawler"]=>
464  string(0) ""
465  ["aol"]=>
466  string(0) ""
467  ["aolversion"]=>
468  string(1) "0"
469}
470array(35) {
471  ["browser_name_regex"]=>
472  string(40) "~^opera/9\.0.* \(windows nt 5\.1.*\).*$~"
473  ["browser_name_pattern"]=>
474  string(29) "Opera/9.0* (Windows NT 5.1*)*"
475  ["parent"]=>
476  string(9) "Opera 9.0"
477  ["platform"]=>
478  string(5) "WinXP"
479  ["win32"]=>
480  string(1) "1"
481  ["browser"]=>
482  string(5) "Opera"
483  ["version"]=>
484  string(3) "9.0"
485  ["majorver"]=>
486  string(1) "9"
487  ["frames"]=>
488  string(1) "1"
489  ["iframes"]=>
490  string(1) "1"
491  ["tables"]=>
492  string(1) "1"
493  ["cookies"]=>
494  string(1) "1"
495  ["backgroundsounds"]=>
496  string(1) "1"
497  ["javaapplets"]=>
498  string(1) "1"
499  ["javascript"]=>
500  string(1) "1"
501  ["css"]=>
502  string(1) "2"
503  ["cssversion"]=>
504  string(1) "2"
505  ["supportscss"]=>
506  string(1) "1"
507  ["minorver"]=>
508  string(1) "0"
509  ["alpha"]=>
510  string(0) ""
511  ["beta"]=>
512  string(0) ""
513  ["win16"]=>
514  string(0) ""
515  ["win64"]=>
516  string(0) ""
517  ["authenticodeupdate"]=>
518  string(0) ""
519  ["cdf"]=>
520  string(0) ""
521  ["vbscript"]=>
522  string(0) ""
523  ["activexcontrols"]=>
524  string(0) ""
525  ["stripper"]=>
526  string(0) ""
527  ["isbanned"]=>
528  string(0) ""
529  ["wap"]=>
530  string(0) ""
531  ["ismobiledevice"]=>
532  string(0) ""
533  ["issyndicationreader"]=>
534  string(0) ""
535  ["crawler"]=>
536  string(0) ""
537  ["aol"]=>
538  string(0) ""
539  ["aolversion"]=>
540  string(1) "0"
541}
542array(35) {
543  ["browser_name_regex"]=>
544  string(47) "~^opera/9\.2.* \(macintosh; .*mac os x;.*\).*$~"
545  ["browser_name_pattern"]=>
546  string(36) "Opera/9.2* (Macintosh; *Mac OS X;*)*"
547  ["parent"]=>
548  string(9) "Opera 9.2"
549  ["platform"]=>
550  string(6) "MacOSX"
551  ["browser"]=>
552  string(5) "Opera"
553  ["version"]=>
554  string(3) "9.2"
555  ["majorver"]=>
556  string(1) "9"
557  ["minorver"]=>
558  string(1) "2"
559  ["frames"]=>
560  string(1) "1"
561  ["iframes"]=>
562  string(1) "1"
563  ["tables"]=>
564  string(1) "1"
565  ["cookies"]=>
566  string(1) "1"
567  ["backgroundsounds"]=>
568  string(1) "1"
569  ["javaapplets"]=>
570  string(1) "1"
571  ["javascript"]=>
572  string(1) "1"
573  ["css"]=>
574  string(1) "2"
575  ["cssversion"]=>
576  string(1) "2"
577  ["supportscss"]=>
578  string(1) "1"
579  ["alpha"]=>
580  string(0) ""
581  ["beta"]=>
582  string(0) ""
583  ["win16"]=>
584  string(0) ""
585  ["win32"]=>
586  string(0) ""
587  ["win64"]=>
588  string(0) ""
589  ["authenticodeupdate"]=>
590  string(0) ""
591  ["cdf"]=>
592  string(0) ""
593  ["vbscript"]=>
594  string(0) ""
595  ["activexcontrols"]=>
596  string(0) ""
597  ["stripper"]=>
598  string(0) ""
599  ["isbanned"]=>
600  string(0) ""
601  ["wap"]=>
602  string(0) ""
603  ["ismobiledevice"]=>
604  string(0) ""
605  ["issyndicationreader"]=>
606  string(0) ""
607  ["crawler"]=>
608  string(0) ""
609  ["aol"]=>
610  string(0) ""
611  ["aolversion"]=>
612  string(1) "0"
613}
614array(35) {
615  ["browser_name_regex"]=>
616  string(65) "~^mozilla/4\.0 \(compatible; msie 6\.0; .*windows nt 5\.1.*\).*$~"
617  ["browser_name_pattern"]=>
618  string(53) "Mozilla/4.0 (compatible; MSIE 6.0; *Windows NT 5.1*)*"
619  ["parent"]=>
620  string(6) "IE 6.0"
621  ["platform"]=>
622  string(5) "WinXP"
623  ["browser"]=>
624  string(2) "IE"
625  ["version"]=>
626  string(3) "6.0"
627  ["majorver"]=>
628  string(1) "6"
629  ["win32"]=>
630  string(1) "1"
631  ["frames"]=>
632  string(1) "1"
633  ["iframes"]=>
634  string(1) "1"
635  ["tables"]=>
636  string(1) "1"
637  ["cookies"]=>
638  string(1) "1"
639  ["backgroundsounds"]=>
640  string(1) "1"
641  ["cdf"]=>
642  string(1) "1"
643  ["vbscript"]=>
644  string(1) "1"
645  ["javaapplets"]=>
646  string(1) "1"
647  ["javascript"]=>
648  string(1) "1"
649  ["activexcontrols"]=>
650  string(1) "1"
651  ["css"]=>
652  string(1) "2"
653  ["cssversion"]=>
654  string(1) "2"
655  ["supportscss"]=>
656  string(1) "1"
657  ["minorver"]=>
658  string(1) "0"
659  ["alpha"]=>
660  string(0) ""
661  ["beta"]=>
662  string(0) ""
663  ["win16"]=>
664  string(0) ""
665  ["win64"]=>
666  string(0) ""
667  ["authenticodeupdate"]=>
668  string(0) ""
669  ["stripper"]=>
670  string(0) ""
671  ["isbanned"]=>
672  string(0) ""
673  ["wap"]=>
674  string(0) ""
675  ["ismobiledevice"]=>
676  string(0) ""
677  ["issyndicationreader"]=>
678  string(0) ""
679  ["crawler"]=>
680  string(0) ""
681  ["aol"]=>
682  string(0) ""
683  ["aolversion"]=>
684  string(1) "0"
685}
686array(35) {
687  ["browser_name_regex"]=>
688  string(65) "~^mozilla/4\.0 \(compatible; msie 6\.0; .*windows nt 5\.1.*\).*$~"
689  ["browser_name_pattern"]=>
690  string(53) "Mozilla/4.0 (compatible; MSIE 6.0; *Windows NT 5.1*)*"
691  ["parent"]=>
692  string(6) "IE 6.0"
693  ["platform"]=>
694  string(5) "WinXP"
695  ["browser"]=>
696  string(2) "IE"
697  ["version"]=>
698  string(3) "6.0"
699  ["majorver"]=>
700  string(1) "6"
701  ["win32"]=>
702  string(1) "1"
703  ["frames"]=>
704  string(1) "1"
705  ["iframes"]=>
706  string(1) "1"
707  ["tables"]=>
708  string(1) "1"
709  ["cookies"]=>
710  string(1) "1"
711  ["backgroundsounds"]=>
712  string(1) "1"
713  ["cdf"]=>
714  string(1) "1"
715  ["vbscript"]=>
716  string(1) "1"
717  ["javaapplets"]=>
718  string(1) "1"
719  ["javascript"]=>
720  string(1) "1"
721  ["activexcontrols"]=>
722  string(1) "1"
723  ["css"]=>
724  string(1) "2"
725  ["cssversion"]=>
726  string(1) "2"
727  ["supportscss"]=>
728  string(1) "1"
729  ["minorver"]=>
730  string(1) "0"
731  ["alpha"]=>
732  string(0) ""
733  ["beta"]=>
734  string(0) ""
735  ["win16"]=>
736  string(0) ""
737  ["win64"]=>
738  string(0) ""
739  ["authenticodeupdate"]=>
740  string(0) ""
741  ["stripper"]=>
742  string(0) ""
743  ["isbanned"]=>
744  string(0) ""
745  ["wap"]=>
746  string(0) ""
747  ["ismobiledevice"]=>
748  string(0) ""
749  ["issyndicationreader"]=>
750  string(0) ""
751  ["crawler"]=>
752  string(0) ""
753  ["aol"]=>
754  string(0) ""
755  ["aolversion"]=>
756  string(1) "0"
757}
758array(35) {
759  ["browser_name_regex"]=>
760  string(59) "~^mozilla/.\.. \(compatible; msie 5\.2.*; .*mac_powerpc.*$~"
761  ["browser_name_pattern"]=>
762  string(49) "Mozilla/?.? (compatible; MSIE 5.2*; *Mac_PowerPC*"
763  ["parent"]=>
764  string(6) "IE Mac"
765  ["version"]=>
766  string(3) "5.2"
767  ["majorver"]=>
768  string(1) "5"
769  ["minorver"]=>
770  string(1) "2"
771  ["browser"]=>
772  string(2) "IE"
773  ["platform"]=>
774  string(6) "MacPPC"
775  ["frames"]=>
776  string(1) "1"
777  ["iframes"]=>
778  string(1) "1"
779  ["tables"]=>
780  string(1) "1"
781  ["cookies"]=>
782  string(1) "1"
783  ["backgroundsounds"]=>
784  string(1) "1"
785  ["cdf"]=>
786  string(1) "1"
787  ["javaapplets"]=>
788  string(1) "1"
789  ["javascript"]=>
790  string(1) "1"
791  ["css"]=>
792  string(1) "1"
793  ["cssversion"]=>
794  string(1) "1"
795  ["supportscss"]=>
796  string(1) "1"
797  ["alpha"]=>
798  string(0) ""
799  ["beta"]=>
800  string(0) ""
801  ["win16"]=>
802  string(0) ""
803  ["win32"]=>
804  string(0) ""
805  ["win64"]=>
806  string(0) ""
807  ["authenticodeupdate"]=>
808  string(0) ""
809  ["vbscript"]=>
810  string(0) ""
811  ["activexcontrols"]=>
812  string(0) ""
813  ["stripper"]=>
814  string(0) ""
815  ["isbanned"]=>
816  string(0) ""
817  ["wap"]=>
818  string(0) ""
819  ["ismobiledevice"]=>
820  string(0) ""
821  ["issyndicationreader"]=>
822  string(0) ""
823  ["crawler"]=>
824  string(0) ""
825  ["aol"]=>
826  string(0) ""
827  ["aolversion"]=>
828  string(1) "0"
829}
830array(35) {
831  ["browser_name_regex"]=>
832  string(59) "~^mozilla/.\.. \(compatible; msie 5\.0.*; .*mac_powerpc.*$~"
833  ["browser_name_pattern"]=>
834  string(49) "Mozilla/?.? (compatible; MSIE 5.0*; *Mac_PowerPC*"
835  ["parent"]=>
836  string(6) "IE Mac"
837  ["version"]=>
838  string(3) "5.0"
839  ["majorver"]=>
840  string(1) "5"
841  ["minorver"]=>
842  string(1) "0"
843  ["browser"]=>
844  string(2) "IE"
845  ["platform"]=>
846  string(6) "MacPPC"
847  ["frames"]=>
848  string(1) "1"
849  ["iframes"]=>
850  string(1) "1"
851  ["tables"]=>
852  string(1) "1"
853  ["cookies"]=>
854  string(1) "1"
855  ["backgroundsounds"]=>
856  string(1) "1"
857  ["cdf"]=>
858  string(1) "1"
859  ["javaapplets"]=>
860  string(1) "1"
861  ["javascript"]=>
862  string(1) "1"
863  ["css"]=>
864  string(1) "1"
865  ["cssversion"]=>
866  string(1) "1"
867  ["supportscss"]=>
868  string(1) "1"
869  ["alpha"]=>
870  string(0) ""
871  ["beta"]=>
872  string(0) ""
873  ["win16"]=>
874  string(0) ""
875  ["win32"]=>
876  string(0) ""
877  ["win64"]=>
878  string(0) ""
879  ["authenticodeupdate"]=>
880  string(0) ""
881  ["vbscript"]=>
882  string(0) ""
883  ["activexcontrols"]=>
884  string(0) ""
885  ["stripper"]=>
886  string(0) ""
887  ["isbanned"]=>
888  string(0) ""
889  ["wap"]=>
890  string(0) ""
891  ["ismobiledevice"]=>
892  string(0) ""
893  ["issyndicationreader"]=>
894  string(0) ""
895  ["crawler"]=>
896  string(0) ""
897  ["aol"]=>
898  string(0) ""
899  ["aolversion"]=>
900  string(1) "0"
901}
902array(34) {
903  ["browser_name_regex"]=>
904  string(6) "~^.*$~"
905  ["browser_name_pattern"]=>
906  string(1) "*"
907  ["browser"]=>
908  string(15) "Default Browser"
909  ["version"]=>
910  string(1) "0"
911  ["majorver"]=>
912  string(1) "0"
913  ["minorver"]=>
914  string(1) "0"
915  ["platform"]=>
916  string(7) "unknown"
917  ["alpha"]=>
918  string(0) ""
919  ["beta"]=>
920  string(0) ""
921  ["win16"]=>
922  string(0) ""
923  ["win32"]=>
924  string(0) ""
925  ["win64"]=>
926  string(0) ""
927  ["frames"]=>
928  string(1) "1"
929  ["iframes"]=>
930  string(0) ""
931  ["tables"]=>
932  string(1) "1"
933  ["cookies"]=>
934  string(0) ""
935  ["backgroundsounds"]=>
936  string(0) ""
937  ["authenticodeupdate"]=>
938  string(1) "0"
939  ["cdf"]=>
940  string(0) ""
941  ["vbscript"]=>
942  string(0) ""
943  ["javaapplets"]=>
944  string(0) ""
945  ["javascript"]=>
946  string(0) ""
947  ["activexcontrols"]=>
948  string(0) ""
949  ["stripper"]=>
950  string(0) ""
951  ["isbanned"]=>
952  string(0) ""
953  ["wap"]=>
954  string(0) ""
955  ["ismobiledevice"]=>
956  string(0) ""
957  ["issyndicationreader"]=>
958  string(0) ""
959  ["crawler"]=>
960  string(0) ""
961  ["css"]=>
962  string(1) "0"
963  ["cssversion"]=>
964  string(1) "0"
965  ["supportscss"]=>
966  string(0) ""
967  ["aol"]=>
968  string(0) ""
969  ["aolversion"]=>
970  string(1) "0"
971}
972array(34) {
973  ["browser_name_regex"]=>
974  string(6) "~^.*$~"
975  ["browser_name_pattern"]=>
976  string(1) "*"
977  ["browser"]=>
978  string(15) "Default Browser"
979  ["version"]=>
980  string(1) "0"
981  ["majorver"]=>
982  string(1) "0"
983  ["minorver"]=>
984  string(1) "0"
985  ["platform"]=>
986  string(7) "unknown"
987  ["alpha"]=>
988  string(0) ""
989  ["beta"]=>
990  string(0) ""
991  ["win16"]=>
992  string(0) ""
993  ["win32"]=>
994  string(0) ""
995  ["win64"]=>
996  string(0) ""
997  ["frames"]=>
998  string(1) "1"
999  ["iframes"]=>
1000  string(0) ""
1001  ["tables"]=>
1002  string(1) "1"
1003  ["cookies"]=>
1004  string(0) ""
1005  ["backgroundsounds"]=>
1006  string(0) ""
1007  ["authenticodeupdate"]=>
1008  string(1) "0"
1009  ["cdf"]=>
1010  string(0) ""
1011  ["vbscript"]=>
1012  string(0) ""
1013  ["javaapplets"]=>
1014  string(0) ""
1015  ["javascript"]=>
1016  string(0) ""
1017  ["activexcontrols"]=>
1018  string(0) ""
1019  ["stripper"]=>
1020  string(0) ""
1021  ["isbanned"]=>
1022  string(0) ""
1023  ["wap"]=>
1024  string(0) ""
1025  ["ismobiledevice"]=>
1026  string(0) ""
1027  ["issyndicationreader"]=>
1028  string(0) ""
1029  ["crawler"]=>
1030  string(0) ""
1031  ["css"]=>
1032  string(1) "0"
1033  ["cssversion"]=>
1034  string(1) "0"
1035  ["supportscss"]=>
1036  string(0) ""
1037  ["aol"]=>
1038  string(0) ""
1039  ["aolversion"]=>
1040  string(1) "0"
1041}
1042array(34) {
1043  ["browser_name_regex"]=>
1044  string(6) "~^.*$~"
1045  ["browser_name_pattern"]=>
1046  string(1) "*"
1047  ["browser"]=>
1048  string(15) "Default Browser"
1049  ["version"]=>
1050  string(1) "0"
1051  ["majorver"]=>
1052  string(1) "0"
1053  ["minorver"]=>
1054  string(1) "0"
1055  ["platform"]=>
1056  string(7) "unknown"
1057  ["alpha"]=>
1058  string(0) ""
1059  ["beta"]=>
1060  string(0) ""
1061  ["win16"]=>
1062  string(0) ""
1063  ["win32"]=>
1064  string(0) ""
1065  ["win64"]=>
1066  string(0) ""
1067  ["frames"]=>
1068  string(1) "1"
1069  ["iframes"]=>
1070  string(0) ""
1071  ["tables"]=>
1072  string(1) "1"
1073  ["cookies"]=>
1074  string(0) ""
1075  ["backgroundsounds"]=>
1076  string(0) ""
1077  ["authenticodeupdate"]=>
1078  string(1) "0"
1079  ["cdf"]=>
1080  string(0) ""
1081  ["vbscript"]=>
1082  string(0) ""
1083  ["javaapplets"]=>
1084  string(0) ""
1085  ["javascript"]=>
1086  string(0) ""
1087  ["activexcontrols"]=>
1088  string(0) ""
1089  ["stripper"]=>
1090  string(0) ""
1091  ["isbanned"]=>
1092  string(0) ""
1093  ["wap"]=>
1094  string(0) ""
1095  ["ismobiledevice"]=>
1096  string(0) ""
1097  ["issyndicationreader"]=>
1098  string(0) ""
1099  ["crawler"]=>
1100  string(0) ""
1101  ["css"]=>
1102  string(1) "0"
1103  ["cssversion"]=>
1104  string(1) "0"
1105  ["supportscss"]=>
1106  string(0) ""
1107  ["aol"]=>
1108  string(0) ""
1109  ["aolversion"]=>
1110  string(1) "0"
1111}
1112array(34) {
1113  ["browser_name_regex"]=>
1114  string(6) "~^.*$~"
1115  ["browser_name_pattern"]=>
1116  string(1) "*"
1117  ["browser"]=>
1118  string(15) "Default Browser"
1119  ["version"]=>
1120  string(1) "0"
1121  ["majorver"]=>
1122  string(1) "0"
1123  ["minorver"]=>
1124  string(1) "0"
1125  ["platform"]=>
1126  string(7) "unknown"
1127  ["alpha"]=>
1128  string(0) ""
1129  ["beta"]=>
1130  string(0) ""
1131  ["win16"]=>
1132  string(0) ""
1133  ["win32"]=>
1134  string(0) ""
1135  ["win64"]=>
1136  string(0) ""
1137  ["frames"]=>
1138  string(1) "1"
1139  ["iframes"]=>
1140  string(0) ""
1141  ["tables"]=>
1142  string(1) "1"
1143  ["cookies"]=>
1144  string(0) ""
1145  ["backgroundsounds"]=>
1146  string(0) ""
1147  ["authenticodeupdate"]=>
1148  string(1) "0"
1149  ["cdf"]=>
1150  string(0) ""
1151  ["vbscript"]=>
1152  string(0) ""
1153  ["javaapplets"]=>
1154  string(0) ""
1155  ["javascript"]=>
1156  string(0) ""
1157  ["activexcontrols"]=>
1158  string(0) ""
1159  ["stripper"]=>
1160  string(0) ""
1161  ["isbanned"]=>
1162  string(0) ""
1163  ["wap"]=>
1164  string(0) ""
1165  ["ismobiledevice"]=>
1166  string(0) ""
1167  ["issyndicationreader"]=>
1168  string(0) ""
1169  ["crawler"]=>
1170  string(0) ""
1171  ["css"]=>
1172  string(1) "0"
1173  ["cssversion"]=>
1174  string(1) "0"
1175  ["supportscss"]=>
1176  string(0) ""
1177  ["aol"]=>
1178  string(0) ""
1179  ["aolversion"]=>
1180  string(1) "0"
1181}
1182array(34) {
1183  ["browser_name_regex"]=>
1184  string(6) "~^.*$~"
1185  ["browser_name_pattern"]=>
1186  string(1) "*"
1187  ["browser"]=>
1188  string(15) "Default Browser"
1189  ["version"]=>
1190  string(1) "0"
1191  ["majorver"]=>
1192  string(1) "0"
1193  ["minorver"]=>
1194  string(1) "0"
1195  ["platform"]=>
1196  string(7) "unknown"
1197  ["alpha"]=>
1198  string(0) ""
1199  ["beta"]=>
1200  string(0) ""
1201  ["win16"]=>
1202  string(0) ""
1203  ["win32"]=>
1204  string(0) ""
1205  ["win64"]=>
1206  string(0) ""
1207  ["frames"]=>
1208  string(1) "1"
1209  ["iframes"]=>
1210  string(0) ""
1211  ["tables"]=>
1212  string(1) "1"
1213  ["cookies"]=>
1214  string(0) ""
1215  ["backgroundsounds"]=>
1216  string(0) ""
1217  ["authenticodeupdate"]=>
1218  string(1) "0"
1219  ["cdf"]=>
1220  string(0) ""
1221  ["vbscript"]=>
1222  string(0) ""
1223  ["javaapplets"]=>
1224  string(0) ""
1225  ["javascript"]=>
1226  string(0) ""
1227  ["activexcontrols"]=>
1228  string(0) ""
1229  ["stripper"]=>
1230  string(0) ""
1231  ["isbanned"]=>
1232  string(0) ""
1233  ["wap"]=>
1234  string(0) ""
1235  ["ismobiledevice"]=>
1236  string(0) ""
1237  ["issyndicationreader"]=>
1238  string(0) ""
1239  ["crawler"]=>
1240  string(0) ""
1241  ["css"]=>
1242  string(1) "0"
1243  ["cssversion"]=>
1244  string(1) "0"
1245  ["supportscss"]=>
1246  string(0) ""
1247  ["aol"]=>
1248  string(0) ""
1249  ["aolversion"]=>
1250  string(1) "0"
1251}
1252array(35) {
1253  ["browser_name_regex"]=>
1254  string(99) "~^mozilla/5\.0 \(windows; .; windows nt 6\.0; .*\) applewebkit/.* \(.*\) version/3\.0.* safari/.*$~"
1255  ["browser_name_pattern"]=>
1256  string(83) "Mozilla/5.0 (Windows; ?; Windows NT 6.0; *) AppleWebKit/* (*) Version/3.0* Safari/*"
1257  ["parent"]=>
1258  string(10) "Safari 3.0"
1259  ["platform"]=>
1260  string(8) "WinVista"
1261  ["browser"]=>
1262  string(6) "Safari"
1263  ["version"]=>
1264  string(3) "3.0"
1265  ["majorver"]=>
1266  string(1) "3"
1267  ["frames"]=>
1268  string(1) "1"
1269  ["iframes"]=>
1270  string(1) "1"
1271  ["tables"]=>
1272  string(1) "1"
1273  ["cookies"]=>
1274  string(1) "1"
1275  ["backgroundsounds"]=>
1276  string(1) "1"
1277  ["javaapplets"]=>
1278  string(1) "1"
1279  ["javascript"]=>
1280  string(1) "1"
1281  ["css"]=>
1282  string(1) "2"
1283  ["cssversion"]=>
1284  string(1) "2"
1285  ["supportscss"]=>
1286  string(1) "1"
1287  ["minorver"]=>
1288  string(1) "0"
1289  ["alpha"]=>
1290  string(0) ""
1291  ["beta"]=>
1292  string(0) ""
1293  ["win16"]=>
1294  string(0) ""
1295  ["win32"]=>
1296  string(0) ""
1297  ["win64"]=>
1298  string(0) ""
1299  ["authenticodeupdate"]=>
1300  string(0) ""
1301  ["cdf"]=>
1302  string(0) ""
1303  ["vbscript"]=>
1304  string(0) ""
1305  ["activexcontrols"]=>
1306  string(0) ""
1307  ["stripper"]=>
1308  string(0) ""
1309  ["isbanned"]=>
1310  string(0) ""
1311  ["wap"]=>
1312  string(0) ""
1313  ["ismobiledevice"]=>
1314  string(0) ""
1315  ["issyndicationreader"]=>
1316  string(0) ""
1317  ["crawler"]=>
1318  string(0) ""
1319  ["aol"]=>
1320  string(0) ""
1321  ["aolversion"]=>
1322  string(1) "0"
1323}
1324array(35) {
1325  ["browser_name_regex"]=>
1326  string(99) "~^mozilla/.* \(iphone; .; .*mac os x.*\) applewebkit/.* \(.*\) version/.*\..* mobile/.* safari/.*$~"
1327  ["browser_name_pattern"]=>
1328  string(81) "Mozilla/* (iPhone; ?; *Mac OS X*) AppleWebKit/* (*) Version/*.* Mobile/* Safari/*"
1329  ["parent"]=>
1330  string(6) "iPhone"
1331  ["browser"]=>
1332  string(6) "Safari"
1333  ["platform"]=>
1334  string(6) "MacOSX"
1335  ["frames"]=>
1336  string(1) "1"
1337  ["iframes"]=>
1338  string(1) "1"
1339  ["tables"]=>
1340  string(1) "1"
1341  ["cookies"]=>
1342  string(1) "1"
1343  ["backgroundsounds"]=>
1344  string(1) "1"
1345  ["javaapplets"]=>
1346  string(1) "1"
1347  ["javascript"]=>
1348  string(1) "1"
1349  ["wap"]=>
1350  string(1) "1"
1351  ["ismobiledevice"]=>
1352  string(1) "1"
1353  ["css"]=>
1354  string(1) "2"
1355  ["cssversion"]=>
1356  string(1) "2"
1357  ["supportscss"]=>
1358  string(1) "1"
1359  ["version"]=>
1360  string(1) "0"
1361  ["majorver"]=>
1362  string(1) "0"
1363  ["minorver"]=>
1364  string(1) "0"
1365  ["alpha"]=>
1366  string(0) ""
1367  ["beta"]=>
1368  string(0) ""
1369  ["win16"]=>
1370  string(0) ""
1371  ["win32"]=>
1372  string(0) ""
1373  ["win64"]=>
1374  string(0) ""
1375  ["authenticodeupdate"]=>
1376  string(0) ""
1377  ["cdf"]=>
1378  string(0) ""
1379  ["vbscript"]=>
1380  string(0) ""
1381  ["activexcontrols"]=>
1382  string(0) ""
1383  ["stripper"]=>
1384  string(0) ""
1385  ["isbanned"]=>
1386  string(0) ""
1387  ["issyndicationreader"]=>
1388  string(0) ""
1389  ["crawler"]=>
1390  string(0) ""
1391  ["aol"]=>
1392  string(0) ""
1393  ["aolversion"]=>
1394  string(1) "0"
1395}
1396array(35) {
1397  ["browser_name_regex"]=>
1398  string(99) "~^mozilla/5\.0 \(ipod; u; .*mac os x; en\) applewebkit/.* \(.*\) version/3\.0 mobile/.* safari/.*$~"
1399  ["browser_name_pattern"]=>
1400  string(84) "Mozilla/5.0 (iPod; U; *Mac OS X; en) AppleWebKit/* (*) Version/3.0 Mobile/* Safari/*"
1401  ["parent"]=>
1402  string(4) "iPod"
1403  ["version"]=>
1404  string(3) "3.0"
1405  ["majorver"]=>
1406  string(1) "3"
1407  ["minorver"]=>
1408  string(1) "0"
1409  ["platform"]=>
1410  string(6) "MacOSX"
1411  ["browser"]=>
1412  string(4) "iPod"
1413  ["cookies"]=>
1414  string(1) "1"
1415  ["alpha"]=>
1416  string(0) ""
1417  ["beta"]=>
1418  string(0) ""
1419  ["win16"]=>
1420  string(0) ""
1421  ["win32"]=>
1422  string(0) ""
1423  ["win64"]=>
1424  string(0) ""
1425  ["frames"]=>
1426  string(0) ""
1427  ["iframes"]=>
1428  string(0) ""
1429  ["tables"]=>
1430  string(0) ""
1431  ["backgroundsounds"]=>
1432  string(0) ""
1433  ["authenticodeupdate"]=>
1434  string(0) ""
1435  ["cdf"]=>
1436  string(0) ""
1437  ["vbscript"]=>
1438  string(0) ""
1439  ["javaapplets"]=>
1440  string(0) ""
1441  ["javascript"]=>
1442  string(0) ""
1443  ["activexcontrols"]=>
1444  string(0) ""
1445  ["stripper"]=>
1446  string(0) ""
1447  ["isbanned"]=>
1448  string(0) ""
1449  ["wap"]=>
1450  string(0) ""
1451  ["ismobiledevice"]=>
1452  string(0) ""
1453  ["issyndicationreader"]=>
1454  string(0) ""
1455  ["crawler"]=>
1456  string(0) ""
1457  ["css"]=>
1458  string(1) "0"
1459  ["cssversion"]=>
1460  string(1) "0"
1461  ["supportscss"]=>
1462  string(0) ""
1463  ["aol"]=>
1464  string(0) ""
1465  ["aolversion"]=>
1466  string(1) "0"
1467}
1468===DONE===
1469