Re: Earthquake in Text_Wiki

From: Date: Thu, 27 May 2004 07:38:49 +0000
Subject: Re: Earthquake in Text_Wiki
References: 1 2 3 4 5 6 7  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29745@lists.php.net to get a copy of this message
Alan Knowles wrote:
@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..
i dont agree here. not having a proper implementation provided by php is the pain in the ass. the other is deciding the lesser evil and starting to require that users know that some PEAR package methods can leak warnings (while still working as expected) and some dont confusing as hell. especially since everybody will silence the error anyways because otherwise he will get flooded by all the missing file errors. it may however be useful to have a debugging mode. hmm actually i think maybe we should introduce our own file_exists() variant and be done with this. its slow but its better than all of the cludges we can come up with. and maybe we can go back to internals@ and lobby for a solution inside php again. 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 07

« previous php.pear.dev (#29745) next »