PHP 4.0 Bug #5650: ext/standard/browscap.c; get_browser() [browser_reg_compare(zval **browser)]
| From: | ken at toast dot com | Date: | Tue, 18 Jul 2000 05:52:55 +0000 |
| Subject: | PHP 4.0 Bug #5650: ext/standard/browscap.c; get_browser() [browser_reg_compare(zval **browser)] | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24848@lists.php.net to get a copy of this message | ||
From: ken@toast.com
Operating system: FreeBSD 3.4
PHP version: 4.0.1pl2
PHP Bug Type: Misbehaving function
Bug description: ext/standard/browscap.c; get_browser() [browser_reg_compare(zval **browser)]
To fix:
I have some patches of the source code changes that I had to make to get it working, at:
http://www.toast.com/patches/php4_browscap.tgz\
Also, in order to get this to work, and not coredump on me, I needed to turn on ZEND_DEBUG in the
php_config.h file.
Don't know why this is, and frankly don't have enough time to investigate either, just
needed to get the darn browscap stuff working.
If someone wants to patch the source tree that's fine with me; I couldn't be bothered
getting a CVS account, and etc, etc for what is probably the only patch I will ever make for php.
If anyone wants proof that I have get_browser running in PHP4, goto:
http://www.toast.com/common/util/
Click on the "browsercap.htm" file.
'night folks!
Ken Allan.