Use of the @ Sign

Hi all, just having a browse through a script I discovered but can’t work out what the @ sign does. Tried searching through Google but find very little. If someone wouldn’t mind sharing their knowledge, it would be appreciated as always :smiley:

$filename = stripslashes($_FILES['image']['name']);
//get the extension of the file in a lower case format
$extension = getExtension($filename);
$extension = strtolower($extension);
$id = $_GET['id'];
$newimage = "../images/frontpage/tab$id.$extension";
if (file_exists($newimage)) {
echo "exists";
@unlink($newimage);
}
$result = @move_uploaded_file($_FILES['image']['tmp_name'], $newimage);
if(empty($result)) {
echo  "There was an error moving the uploaded file.";
}
else {
echo "Image updated";
}

It surpresses warnings.

The @ operator’s purpose is to control (by that, I mean silence/suppress) errors. Its use is often frowned upon and generally constitutes a case of “you’re doing it wrong”. See also http://php.net/@ for the PHP manual page on the subject.