#39542 [NoF->Opn]: setting status to open

From: Date: Sat, 05 May 2007 14:38:25 +0000
Subject: #39542 [NoF->Opn]: setting status to open
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-112290@lists.php.net to get a copy of this message
ID: 39542 User updated by: snowy at corporatezoo dot com -Summary: Search order for include_once/require_once wrong in get_include_path Reported By: snowy at corporatezoo dot com -Status: No Feedback +Status: Open Bug Type: Scripting Engine problem Operating System: Windows XP PHP Version: 5.2.0 New Comment: just changing the status to "open"... I think it's an easily reproducible problem - just wondering why it's not bothering more people. Previous Comments: ------------------------------------------------------------------------ [2007-05-05 14:35:02] snowy at coporatezoo dot com Hi, just tried this with php 5.2.2 (win32) and it's still not behaving as < 5.2.0 I still suspect it has to do with the "optimization" introduced for require_once. I actually believe the behaviour to be incorrect, in that (1) some sort of namespace for the file is held in cache, albeit not case-sensitive, and (2) in the wrong search order (.= current directory seems to always be searched first, no matter what set_include_path stipulates) I just find it strange that no once else comes across this problem? ------------------------------------------------------------------------ [2007-05-04 01:00:00] 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". ------------------------------------------------------------------------ [2007-04-26 09:34:23] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.2-win32-latest.zip ------------------------------------------------------------------------ [2007-04-18 05:37:03] rvp at journal dot com dot ph PHP's default setting for open tags is ===> "short_open_tag = Off" Set it to "On" or modify your script opening tags to long ones eg. <?php {...} ?> Regards to all. ------------------------------------------------------------------------ [2007-03-15 07:13:58] snowy at coporatezoo dot com Hi, so I caught this while reading the change log for 5.2.0: "Optimized require_once() and include_once() by eliminating fopen(3) on second usage. (Dmitry)" Perhaps this might be the issue, it might be optimized, but I'm not sure if it's entirely correct. ------------------------------------------------------------------------ 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 http://bugs.php.net/39542 -- Edit this bug report at http://bugs.php.net/?id=39542&edit=1

« previous php.bugs (#112290) next »