PHP

PHP '@' directive

(from http://www.faqts.com/knowledge_base/view.phtml/aid/103])

Use the '@' symbol before the function name to suppress error messages and warnings. For example:


$error = @ ldap_bind($ldap,$binddn,$pass);

Huh. Things you learn.

Syndicate content