ID: 27500 Updated by: [EMAIL PROTECTED] 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