Re: PEAR Coding Standards

From: Date: Mon, 03 May 2004 11:47:36 +0000
Subject: Re: PEAR Coding Standards
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-28721@lists.php.net to get a copy of this message
> This is not a good idea. Hust imagine you are opening a socket, ftp > connections or anything else that works with a remote server... If the > connection times out, there will be a warning... You are right with this. But sometimes it would help more to get a PEAR_Error instead of ugly notices, warnings etc., for example when you want to access a specific function where the possibility is high that it is not installed on every server... Use function_exists("yadayada") instead of @yadayada, that was my main intention. Regards Thorsten

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