New course! Every coder should learn Generative AI!
Try a free lesson+ 1
what does .= is used for?
2 Answers
+ 2
an exemple is like
$a = "";
$a .= "abc";
echo ($a); print: abc
$a .= 3;
echo ($a); print: abc3
0
. Represents concatenation of any string or integer together .