Full Version: why preface php functions with @
UtterAccess Discussion Forums > And More... > PHP, Perl, MySQL and Postgres
Nyteshade
This may be obvious but I cannot find an answer at php.net or by googling; so what does the @ sign mean when used like: @sizeof() ? The text I'm reading includes this in a statement yet never discloses the reason for the @! Thx all.
ace
I believe the @ operator suppresses php's error messages.

Yup. Look here.
Nyteshade
Thx ace!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.