You are here: Re: E_ALL: notice with list() « PHP Language « IT news, forums, messages
Re: E_ALL: notice with list()

Posted by Michael Fesser on 10/14/07 16:24

..oO(macca)

>If all you want to do is hide the notice

In clean code you never want to hide notices, but fix the problems that
cause them.

>prepend the function with an
>at sign.
>
>e.g.
>
>
>@explode("Second part match string", $text);

This doesn't fix the error and is as stupid as the default setting for
error_repoting. There's hardly a reason to use '@' at all.

Micha

 

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

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