faqts : Computers : Programming : Languages : PHP : Common Problems : Arrays

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

When I see the @ symbol in front of an array, what is it doing ? eg. $list = @$children[$parent]

Apr 29th, 2007 09:44
Hamish Milne, Pete Stoves, http://uk3.php.net/manual/en/language.operators.errorcontrol.php


It is called an error supressor. It stops all errors from occuring in 
that function. 
http://uk3.php.net/manual/en/language.operators.errorcontrol.php