PHP Rapid-Fire: What is the @ symbol used for in PHP?

The @ symbol is used in PHP to suppress error warnings in your code. Prepending an ampersand to a line of PHP will suppress the error from reporting but it doe’s come with a few caveats listed below.

Example: To stop errors from showing for a class

 $var = @new some_class(); 

Continue reading PHP Rapid-Fire: What is the @ symbol used for in PHP?