jorley Posted March 9, 2010 Share Posted March 9, 2010 Hi Guys, I have been coming across some things that I have just not seen before and need to find out what they mean. I came across the symbols ? and :: today. They were used something like this... if(isset($_GET['g']) ? something :: something2) { ... It was something along those lines. What do the symbols mean. Trying to google then is like trying to find the needle in the haystack. Any help would be appreciated. Link to comment https://forums.phpfreaks.com/topic/194566-simple-question-about-and/ Share on other sites More sharing options...
trq Posted March 9, 2010 Share Posted March 9, 2010 See ternary operator here. Link to comment https://forums.phpfreaks.com/topic/194566-simple-question-about-and/#findComment-1023280 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.