#27500 [Fbk->NoF]: get_browser
| From: | sniper@php.net | Date: | Thu, 11 Mar 2004 00:52:01 +0000 |
| Subject: | #27500 [Fbk->NoF]: get_browser | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-56272@lists.php.net to get a copy of this message | ||
ID: 27500
Updated by: sniper@php.net
Reported By: cvachon at bluenodes-technologies dot com
-Status: Feedback
+Status: No Feedback
Bug Type: Output Control
Operating System: XP
PHP Version: 4.3.5RC3
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2004-03-05 11:51:10] jay@php.net
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
------------------------------------------------------------------------
[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