[dev] Note: liberal use of @ in front of function calls ...

Chris chris@jeks.net
Sun Nov 24 15:15:53 2002


Good news and bad news.

Bad news is you're spot on - bug in PHP. Just checked it out.

Good news is it's fixed in PHP CVS version. The version with the problem is
my current 4.2.2 installation.

Arggh can feel my brain creaking as I come back up to speed with all things PHP.

 -chris

On Sun, Nov 24, 2002 at 10:06:39AM -0500, Chuck Hagenbuch wrote:
> Quoting Chris <chris@jeks.net>:
> 
> > ... just a quick note. There seems to be a fondness of putting '@' in
> > front of all the IMAP calls. This nobbles certain stuff on my 
> > installation.
> 
> These are necessary; depending on PHP's error level, these errors would
> otherwise be dumped directly to the browser, causing "headers already sent"
> errors, bad HTML, ugly display, confusing users, etc.
> 
> > The @imap_mail_copy suppresses the errors that would have been returned
> > by imap_last_error. With the @ on imap_mail_copy the function
> 
> I've never known it to work this way, but if that indeed is what happens,
> that's a bug in PHP, not IMP.
> 
> -chuck
> 
> --
> Charles Hagenbuch, <chuck@horde.org>
> "People ask me all the time what it will be like living without otters."
>  - Google, thanks to Harpers
> 
> -- 
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org

-- 
~ ~ ~
Chris Hyde

The ships hung in the sky in much the same way that bricks don't. DA

~ ~ ~


More information about the dev mailing list