Edit report at https://bugs.php.net/bug.php?id=46395&edit=1
ID: 46395 Comment by: ebosman at gmail dot com Reported by: ebosman at gmail dot com Summary: Inconsistent behaviour of require_once Status: No Feedback Type: Bug Package: Directory function related Operating System: Linux PHP Version: 5.2.6 Block user comment: N Private report: N New Comment: The code snippet in the bug report still reproduces the bug. Why are bugs not being tested and closed when the reports contain easy test cases? Also, why am I not able to re-open this thing Previous Comments: ------------------------------------------------------------------------ [2009-03-31 08:26:58] befroozfar at yahoo dot com Warning: require_once(Mail.php) [function.require-once]: failed to open stream: No such file or directory in ------------------------------------------------------------------------ [2009-01-29 01:00:15] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-01-21 19:47:57] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2008-12-09 20:30:36] tomas at matfyz dot cz Note that my bug #46801 was marked as a duplicate of this one. My testcase could be found here: http://tomas.matfyz.cz/obs/pok_require_dirs3/report/www/use.php ------------------------------------------------------------------------ [2008-11-24 17:33:18] ebosman at gmail dot com And then I forgot that I put the original include_path back, apologies /var/www/bug/top.php /var/www/bug /var/www/bug/subdir/sub.inc /var/www/bug (and htmlized:) Warning: require_once(../top1.inc) [function.require-once]: failed to open stream: No such file or directory in /var/www/bug/subdir/sub.inc on line 1 Fatal error: require_once() [function.require]: Failed opening required '../top1.inc' (include_path='/usr/share/php:/usr/share/pear') in /var/www/bug/subdir/sub.inc on line 1 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=46395 -- Edit this bug report at https://bugs.php.net/bug.php?id=46395&edit=1