WordPress Development Question:
Download Questions PDF

Described ternary conditional operator in PHP?

Answer:

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

Download WordPress Expert Interview Questions And Answers PDF

Previous QuestionNext Question
If the variable $a is equal to 5 and variable $b is equal to character a, what's the value of $$b?Tell me are the objects passed by value or by reference?