Undead_Zeus Posted January 26, 2007 Share Posted January 26, 2007 No matter how hard I look on google or the PHP API I can't find out what the @ operator does. Can someone please tell me? Thanks. Link to comment https://forums.phpfreaks.com/topic/35862-the-operator/ Share on other sites More sharing options...
genericnumber1 Posted January 26, 2007 Share Posted January 26, 2007 didn't look TOO hard, it's in the forum labeled "check here for questions that come up a lot"http://www.phpfreaks.com/forums/index.php/topic,95563.0.html Link to comment https://forums.phpfreaks.com/topic/35862-the-operator/#findComment-170000 Share on other sites More sharing options...
Jessica Posted January 26, 2007 Share Posted January 26, 2007 It's the error surpressor, there was a thread on this yesterday.Edit: weird, it didn't show me the message that someone had posted since I started composing. Good find generic :) Link to comment https://forums.phpfreaks.com/topic/35862-the-operator/#findComment-170001 Share on other sites More sharing options...
Undead_Zeus Posted January 26, 2007 Author Share Posted January 26, 2007 Thanks.[quote author=genericnumber1 link=topic=124197.msg514239#msg514239 date=1169840837]didn't look TOO hard[/quote]Thanks. Gotta be jerk while you answer don't you? I used the search function and "@ operator" didn't come up at all.Thanks jesirose. Link to comment https://forums.phpfreaks.com/topic/35862-the-operator/#findComment-170013 Share on other sites More sharing options...
Jessica Posted January 26, 2007 Share Posted January 26, 2007 generic wasn't being a jerk. If you'd looked on the FAQ board, there's a post about @.Also, you knew to call it an operator. Did you look in the documentation under operators? There's only a few pages, and skimming through them and searching for @ shows that it's on the error control operators page. Also, just searching the PHP docs for "at sign" using the php.net search resulted in plenty of hits for the page. Link to comment https://forums.phpfreaks.com/topic/35862-the-operator/#findComment-170021 Share on other sites More sharing options...
Orio Posted January 26, 2007 Share Posted January 26, 2007 Whenever you have a question of this type, go to the [url=http://www.php.net/manual/en/index.php]manual[/url].In this case, hit [url=http://www.php.net/manual/en/language.operators.php]operators[/url] (under language reference), and then look for the @ operator. You'll find it under [url=http://www.php.net/manual/en/language.operators.errorcontrol.php]error-control operators[/url] with a wide explanation about it, including examples.Orio. Link to comment https://forums.phpfreaks.com/topic/35862-the-operator/#findComment-170043 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.