From: subscription at nazarenko dot net Operating system: SuSE Linux 10.0 PHP version: 5CVS-2005-11-09 (CVS) PHP Bug Type: PHP options/info functions Bug description: include()/require()/*_once() produce wrong error messages about main()
Description: ------------ According to this page: http://www.php.net/manual/en/function.main.php the misbehaviour was stopped in PHP 4.3.2, however it is still present in the latest 5.1.x snapshot. In addition when require_once() or include_once() call fails and "html_errors" is "On" the error message HTML link points to the same function "require()" or "include()", without the _once() part in it. -- Edit bug report at http://bugs.php.net/?id=35176&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35176&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35176&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35176&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=35176&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35176&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35176&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35176&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35176&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35176&r=support Expected behavior: http://bugs.php.net/fix.php?id=35176&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35176&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35176&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35176&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35176&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35176&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35176&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35176&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35176&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35176&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35176&r=mysqlcfg