WHY DO WE PUT @ SYMBOL BEFORE ANY VARIABLE?

Awadhendra Tiwari

Total Post:510

Points:2550
Posted by  Awadhendra Tiwari
PHP 
PHP
 1846  View(s)
Ratings:
Rate this:
  1. Awadhendra Tiwari

    Post:510

    Points:2550
    Why do we put @ symbol before any variable?

    @ symbol when placed before any variable will hide notices and warnings  which are generated when trying to access an undefined variable.
             

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!