Home > DeveloperSection > Interviews > Why do we put @ symbol before any variable?

Posted on    June-13-2011 5:15 AM

 PHP PHP 
Ratings:
 1 Answer(s)
  1652  View(s)
Rate this:

Awadhendra Tiwari

Total Post:510

Points:2550
Posted on    June-13-2011 12:00 AM

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

Don't want to miss updates? Please click the below button!

Follow MindStick