Re: Earthquake in Text_Wiki
| From: | Alan Knowles | Date: | Thu, 27 May 2004 07:22:03 +0000 |
| Subject: | Re: Earthquake in Text_Wiki | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-29744@lists.php.net to get a copy of this message | ||
@include_once is very annoying... if you include a file with a fatal parse error, the script stops running. with no error message! - quite often it's a royal pain in the ass to locate the problem..
if the user is speculatively loading a file, leave the error silencing up to them, eg. silencing the method call..
Regards
Alan
Lukas Smith wrote:
Paul M Jones wrote:-- Can you help out? Need Consulting Services or Know of a Job? http://www.akbkhome.comOn May 26, 2004, at 5:11 PM, Helgi Þormar wrote:Well for now if(@include_once()) is the best solution. PEAR uses the include path and we shouldnt start using some custom solution for doing include path management. This will just be a pain to maintain for users that want to have something like 'custompath;pearpath' regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07I figure it'd be just as slow as anything else we're doing to code around it.seems like we are (yet again) coding around the fact that there is no file_exists() that honors the include path .. all my begging hasnt helped to get something like this into PHP :-(Well can't we just code up a function like that for pear ? ;)