From: MIKEYTF at aol dot com Operating system: Windows 98 PHP version: 4.3.9 PHP Bug Type: *General Issues Bug description: It cannot redeclare a function that has only been declared once.
Description: ------------ Well, I created a function sys_msg($error,$exit). Then it says "Cannot redeclare sys_msg() (previously declared in cfg.inc.php on line 44) on line 44". It does not make sense! Reproduce code: --------------- Well, I don't think I need to show a source code because it is just a function.. but here is the error page: http://subzer0.net/reloaded/ Expected result: ---------------- I expect the index to load and for it to give me an error telling me that some SQL tables are missing. (I haven't completed all the SQL) Actual result: -------------- It gives me the "cannot redeclare" error. (http://subzer0.net/reloaded) -- Edit bug report at http://bugs.php.net/?id=32791&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32791&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32791&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32791&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32791&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32791&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32791&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32791&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32791&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32791&r=support Expected behavior: http://bugs.php.net/fix.php?id=32791&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32791&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32791&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32791&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32791&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32791&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32791&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32791&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32791&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32791&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32791&r=mysqlcfg
