What is String operators?
There are two string operators available. The usage of numerical numbers might lead to unexpected outcomes:
- The PHP operator (.) is also known as the concatenation operator. It joins separate threads together.
- The PHP operator (.=) is also known as the combined assignment operator. It connects the argument to the one on the right page, on the left.
- Operator Name Example Result
$txt1 . $txt2Concatenation of
$txt1 .= $txt2Appends