From: Operating system: Windows 7 PHP version: 5.3SVN-2011-05-24 (snap) Package: Reproducible crash Bug Type: Bug Bug description:browscap issues
Description: ------------ Hello, I've downloaded PHP 5.3 revision 311383 TS from windows.php.net/snapshots/ I have managed to reproduce a crash using nginx and php fcgi related to browscap. It works flawless prior to this commit svn.php.net/viewvc?view=revision&revision=310691 but new versions crash How to reproduce. 1. Use php.ini-production as your php.ini 2. Uncomment browscap in php.ini 3. Set it to a valid ini file ( for example: lite_php_browscap.ini from browsers.garykeith.com/downloads.asp ) 4. Run the test script 5. Enjoy the crash ;) Please reproduce and fix. Thank you. Test script: --------------- <?php phpinfo(); ?> -- Edit bug report at http://bugs.php.net/bug.php?id=54918&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54918&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54918&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54918&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54918&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54918&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54918&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54918&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54918&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54918&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54918&r=support Expected behavior: http://bugs.php.net/fix.php?id=54918&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54918&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54918&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54918&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54918&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54918&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54918&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54918&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54918&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54918&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54918&r=mysqlcfg