Hey Stackoverflow community. I had some issues with my code yesterday and somehow solved it by adding @ in front of some of my statements such as this
if (@!empty($_SESSION["customer]) {
//code
}
I had never seen it before but it worked perfectly. I have searched for it on Google but i can't find any useful description about the @ in PHP. I want to hear if anyone knows what it does, how it works and mean in PHP. Thanks!