Does PHP support Ternary Operator?

84. Does PHP support Ternary Operator?

  1. Yes
  2. No

Answer: A) Yes

Explanation:

Yes, PHP supports Ternary Operator. The operator ?: is used as a Ternary Operator.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.