What does .= do in php?

  • Thread starter Thread starter ed_man118
  • Start date Start date
E

ed_man118

Guest
Can somebody explain to me what this operator does in the syntax of a php script please?
 
Its basically saves you doing..

$var = $var."something";

by you just doing

$var.="something";
 
Back
Top