What is the concatenation operator in PHP?

  • +
  • -
  • *
  • .
The concatenation operator in PHP is the dot (.) operator. It is used to concatenate or join two or more strings together. When the dot operator is used between two strings, it combines them to form a single string. For example, "Hello" . "World" will result in "HelloWorld". Learn more: https://www.php.net/manual/en/language.operators.string.php
Add your answer
Loading...

Leave a comment

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