sb3108sa / phpbrowscap

Automatically exported from code.google.com/p/phpbrowscap
GNU Lesser General Public License v2.1
0 stars 0 forks source link

Warnings with PHP5.3 #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Testing Browscap.php r17 in PHP5.3 (Apache2, WinVista) returns:

Warning: parse error, expecting `']'' in
C:\wamp\www\browscap\cache\browscap.ini on line 49 in
C:\wamp\www\browscap\Browscap.php on line 308

Warning: array_shift() expects parameter 1 to be array, boolean given in
C:\wamp\www\browscap\Browscap.php on line 309

Warning: array_keys() expects parameter 1 to be array, null given in
C:\wamp\www\browscap\Browscap.php on line 311

Warning: array_unshift() expects parameter 1 to be array, null given in
C:\wamp\www\browscap\Browscap.php on line 318

Warning: array_keys() expects parameter 1 to be array, boolean given in
C:\wamp\www\browscap\Browscap.php on line 320

Warning: usort() expects parameter 1 to be array, null given in
C:\wamp\www\browscap\Browscap.php on line 324

Warning: array_flip() expects parameter 1 to be array, null given in
C:\wamp\www\browscap\Browscap.php on line 326

Warning: array_flip() expects parameter 1 to be array, null given in
C:\wamp\www\browscap\Browscap.php on line 327

Warning: Invalid argument supplied for foreach() in
C:\wamp\www\browscap\Browscap.php on line 332

Warning: Invalid argument supplied for foreach() in
C:\wamp\www\browscap\Browscap.php on line 508

Warning: Invalid argument supplied for foreach() in
C:\wamp\www\browscap\Browscap.php on line 508

stdClass Object
(
)

Original issue reported on code.google.com by lucas.s...@gmail.com on 30 Aug 2009 at 8:45

GoogleCodeExporter commented 8 years ago
The fix for this is included in issue 11.

Original comment by eric.caron on 2 Sep 2009 at 1:49