Possible Duplicates:
Reference – What does this symbol mean in PHP?
Should I use @ in my PHP code?
For example, when deleting a file in PHP. @unlink($file); or unlink($file);
I’ve heard bad things about using @. Can someone explain why we should or shouldn’t use this?
The @ symbol suppresses any errors. If your script is failing to
unlink()in your example above, you wouldn’t see any error output about it. Its use is at your discretion for bug squashing or not. Though, personally I try to avoid its use because I want to know about any errors.