You are here: Re: what does @ mean « PHP Programming Language « IT news, forums, messages
Re: what does @ mean

Posted by Kim Andr� Aker� on 11/13/06 16:38

Dikkie Dik wrote:

> mantrid wrote:
> > in some php script ive seen
> >
> > $something['something']==@$somethingelse
> > whereas
> > something['something']==$somethingelse
> >
> > works the same
> > what does the use of the @ do?
> > Sorry if this is a stupid question
> >
> It suppresses error messages. I call it the drop-dead-symbol. As in :
> "Drop dead. I don't care if it works." If you have any colleagues
> that use that symbol too often, you know what I mean...

Personally, I use this symbol when I want to provide my own error
message or return value (such as when a function is unable to connect
to a server).

--
Kim André Akerø
- kimandre@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)

 

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

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