what is use of “@” in php
@ is error controller operator in php.if we add this operator before any expression or function then any error generated by that expression or function will be ignored.
eg :
(1)include(‘a.php’);
Warning: include(a.php) [function.include]: failed to open stream: No such file or directory
(2)@include(‘a.php’);
no error or warning