Jump to content

simple question about ? and ::


jorley

Recommended Posts

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

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.