Home > DeveloperSection > Interviews > Explain the ternary conditional operator in PHP?

Posted on    May-04-2012 8:12 AM

 1 Answer(s)
  1980  View(s)
Rate this:

Arun Singh

Total Post:310

Posted on    May-04-2012 12:00 AM

Expression preceding the '?' is evaluated, if it’s true, then the expression preceding the ':' is executed, otherwise, the expression following ':' is executed.

Don't want to miss updates? Please click the below button!

Follow MindStick