The = operator in PHP is a type of ______ operator.

  • Assignment
  • Comparison
  • Arithmetic
  • Logical
The = operator in PHP is a type of assignment operator. It is used to assign a value to a variable. For example, $num = 10; assigns the value 10 to the variable $num. The = operator is used to store a value in a variable and update its value as needed. Learn more: https://www.php.net/manual/en/language.operators.assignment.php
Add your answer
Loading...

Leave a comment

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