What is name of PHP '<=>' operator?

83. What is name of PHP "<=>" operator?

  1. Spaceship
  2. Safe Spaceship
  3. Identity
  4. Identical

Answer: A) Spaceship

Explanation:

The PHP <=> operator is known as the "Spaceship" operator. It returns an integer value that is less than, equal to, or greater than zero, depending on if expression is less than, equal to, or greater than $y. The Spaceship Operator (<=>) was introduced in PHP 7.

Comments and Discussions!

Load comments ↻






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