Handling the @ Error Control Operator
Learn about the @ error control operator and how it helps the developers to mask the errors.
We'll cover the following...
For years and years, many PHP developers have used the @ error control operator to mask errors. This was especially true when using unreliable PHP libraries with badly written code. Unfortunately, the net effect of this usage only serves to propagate bad code!
Many PHP developers are exercising wishful thinking, believing that when they use the @ operator to prevent errors from being displayed, this makes it seem as if the problem has magically gone away! Trust us when we say this: it hasn’t! In this lesson, we first examine the traditional use of the @ ...