In PHP is possible to suppress errors by using the @
symbol before the statement.
Example:
if (@$flag[$i]) {
...
}
Although I have seen it used in many places, I have never seen a situation that was really necessary. As the error suppression was not yet removed from PHP (not even deprecated), I can assume it's really useful. Can someone point me a situation that it is really necessary?