#27500 [Opn->Fbk]: get_browser
| From: | jay@php.net | Date: | Fri, 05 Mar 2004 16:51:11 +0000 |
| Subject: | #27500 [Opn->Fbk]: get_browser | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-55955@lists.php.net to get a copy of this message | ||
ID: 27500
Updated by: jay@php.net
Reported By: cvachon at bluenodes-technologies dot com
-Status: Open
+Status: Feedback
Bug Type: Output Control
Operating System: XP
PHP Version: 4.3.5RC3
New Comment:
Could you check to make sure you're not experiencing
the same problem as has been reported in bug #27372?
http://bugs.php.net/bug.php?id=27372
J
Previous Comments:
------------------------------------------------------------------------
[2004-03-04 18:23:54] cvachon at bluenodes-technologies dot com
Description:
------------
Hi!
I downloaded the latest "browsecap.ini" (2004-02-29 23:03:10 GMT
) file yesterday and it generates a bug within PHP function
"get_browser". This function is supposed to return an Object but with
this file version, it returns nothing. I have PHP 4.3.5RC3 under XP.
And I even tried downgrading to my last PHP version (4.3.4RC3) and the
result is the same...
My conclusion is based on the fact that I downgraded to an ancient
version of the file "browsecap.ini" (2003-09-21 22:04:18 GMT) and it's
working with this one...
Thanks!
Reproduce code:
---------------
$browser = get_browser($_SERVER["HTTP_USER_AGENT"]);
Expected result:
----------------
Object
Actual result:
--------------
//* $browser is null and does not have any properties set.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27500&edit=1