+ 1

what does .= is used for?

8th Aug 2016, 8:23 AM
zaheer
zaheer - avatar
2 Answers
+ 2
an exemple is like $a = ""; $a .= "abc"; echo ($a); print: abc $a .= 3; echo ($a); print: abc3
8th Aug 2016, 11:28 AM
francis
0
. Represents concatenation of any string or integer together .
8th Aug 2016, 10:18 AM
Sajen "The Empathy"
Sajen "The Empathy" - avatar