Jump to content

[SOLVED] What does @ do


mikesta707

Recommended Posts

Suppresses error message and should be avoided. Instead, on a production server you should turn display_errors to off in the php.ini to avoid showing the errors. But more importantly, you should find out why an error is being thrown and correct it at the source.

Link to comment
https://forums.phpfreaks.com/topic/155427-solved-what-does-do/#findComment-817880
Share on other sites

ooooooh I see. Wow I always wondered why that fixed the error I came across a long time ago... I never realized it never did. Well ill make sure to avoid that from now on

 

Hahaha. 

 

Sure, '@' is a miracle symbol, it will resolve any and all errors.

Link to comment
https://forums.phpfreaks.com/topic/155427-solved-what-does-do/#findComment-817899
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.