From: kj at legalizer dot dk Operating system: WinXP PHP version: 5CVS-2004-09-13 (dev) PHP Bug Type: Zend Engine 2 problem Bug description: Cannot redeclare function/class
Description: ------------ After installing PHP 5.0.1 (and latest CVS) I get "Cannot redeclare <functionname/classname> (previously declared in <filename>)" errors at random. Then after a few seconds a window pops up with a dllhost.exe error. Saying somthing like "Memory could not be read". And my IIS chrashes. All this do not happen every time i load the page only sometimes. This did not happen in PHP 5.0.0. Im running PHP as ISAPI. Actual result: -------------- Fatal error: Cannot redeclare db_connect() (previously declared in D:\HTDocs\BEC\includes\database.inc.php:8) in D:\HTDocs\BEC\includes\database.inc.php on line 10 -- Edit bug report at http://bugs.php.net/?id=30075&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30075&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30075&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30075&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30075&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30075&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30075&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30075&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30075&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30075&r=support Expected behavior: http://bugs.php.net/fix.php?id=30075&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30075&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30075&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30075&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30075&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30075&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30075&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30075&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30075&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30075&r=mysqlcfg