You are here: Re: shortif (tertiary) fails with echo but not print ? « PHP Programming Language « IT news, forums, messages
Re: shortif (tertiary) fails with echo but not print ?

Posted by Umberto Salsi on 05/02/07 11:53

Tyno Gendo <you@localhost> wrote:

> I'm using a custom error handler and the @ doesn't seem to be supressing
> errors, don't know why.

/*. void .*/ function my_error_handler(
/*. int .*/ $errno,
/*. string .*/ $message,
/*. string .*/ $filename,
/*. int .*/ $lineno)
{
if( ($errno & error_reporting()) == 0 )
# Error disabled or silenced by @.
return;

/* bla bla */
}

Regards,
___
/_|_\ Umberto Salsi
\/_\/ www.icosaedro.it

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация