What th@ in a class

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
riley
Forum Commoner
Posts: 45
Joined: Thu May 02, 2002 6:31 pm

What th@ in a class

Post by riley »

I have been reading about and trying to better understand how classes work and I see the @ symbol (i.e., @mysql_close($this->conn); ) in the classes and can't find what they represent. Doesn't seem to be used everywhere just with some of the functions.

Thanks
User avatar
mydimension
Moderator
Posts: 531
Joined: Tue Apr 23, 2002 6:00 pm
Location: Lowell, MA USA
Contact:

Post by mydimension »

the @ symbol is not just used in classes, it is used on any function when you want to suppress error messages.
Post Reply