PrepAway - Latest Free Exam Questions & Answers

which of the following represents the concatenation operator?

In PHP, which of the following represents the concatenation operator?

PrepAway - Latest Free Exam Questions & Answers

A.
.

B.
<>

C.
=

D.
==

E.
:=

F.

G.
None of the above.

Explanation:

There are two string operators. The first is the concatenation operator (‘.’), which returns the
concatenation of its right and left arguments. The second is the concatenating assignment
operator (‘.=’), which appends the argument on the right side to the argument on the left side.


Leave a Reply