The === operator in PHP checks if the values of two operands are ______ and of the ______ type.

  • Equal and same
  • Equal and different
  • Not equal
  • Not equal and same
The === operator in PHP checks if the values of two operands are equal and of the same type. It performs a strict comparison, meaning that it not only checks for equality but also ensures that the data types of the values are the same. For example, $num1 === $num2 will return true if $num1 is equal to $num2 and both have the same data type, and false otherwise. Learn more: https://www.php.net/manual/en/language.operators.comparison.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *