I included definition files using require_once(), I noticed the last definition file is not included w/o any error messages. I tested with include() and require(), it worked fine but not with require_once() or include_once(). Require_once() and include_once() silently fails to include files. I've checked with get_required_files() and get_included_files(), there are 20 files included where it should be 21 files. It seems 20 files for max number of include_once()/require_once() is too few. (Usually I don't include this many files unless I have to) I think PHP should warn or raise error if it cannot include files. First of all, is this a spec? If so, I'm fine with this restriction. (More than 20 included files are too many anyway) If this is a problem, I would like to know other people have the problem. If it is the case, I will post new bug report to bug DB. (Searched with require as keyword in Scripting Engine section, no matched record. Or is this reported?? or even better will it be fixed in 4.0.5?) If no one has the same problem, I'm going to update my glibc to see if it fix other strange PHP behavior also. (I have code that loops as if there is "goto" statement under my environment.) OS: RedHat7 (w/o glibc update) Apache: 1.3.17 PHP: 4.0.4pl1 (module) Thanks for your info. -- Yasuo Ohgaki -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to