WHY DO WE PUT @ SYMBOL BEFORE ANY VARIABLE?

Awadhendra Tiwari

Total Post:505

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

    Post:505

    Points:2525
    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!