What are the two main string operators?

  • Concatenation and interpolation
  • Assignment and comparison
  • Increment and decrement
  • Logical and bitwise operations
The two main string operators in PHP are concatenation (using the . operator) and interpolation (using variables within double-quoted strings). They allow manipulation and combination of string values. Learn more: http://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 *