In PHP, the * operator is used for ______.

  • Multiplication
  • Division
  • Subtraction
  • Addition
In PHP, the * operator is used for multiplication. It is used to multiply two numbers and obtain their product. For example, $result = $num1 * $num2; will multiply the values of $num1 and $num2 and store the result in $result. Learn more: https://www.php.net/manual/en/language.operators.arithmetic.php
Add your answer
Loading...

Leave a comment

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