From: thomas at ecommerce dot com Operating system: Linux SuSE 9.2 PHP version: 4.3.11 PHP Bug Type: Output Control Bug description: require_once() don't throw an error msg when file will be included twice
Description: ------------ When an file will be included twice, there wouldn't be thrown an error message about that. I have set E_ALL in my php.ini. Reproduce code: --------------- <?php require_once 'test.php'; require_once 'test.php'; echo "asdf"; Expected result: ---------------- An error should be thrown that the file was required two times.... Actual result: -------------- script just continue running... -- Edit bug report at http://bugs.php.net/?id=32824&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32824&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32824&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32824&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32824&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32824&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32824&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32824&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32824&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32824&r=support Expected behavior: http://bugs.php.net/fix.php?id=32824&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32824&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32824&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32824&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32824&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32824&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32824&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32824&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32824&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32824&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32824&r=mysqlcfg
