<?php declare(strict_types=1); $a = "foo"; $b = "bar"; // . joins two strings $joined = $a . $b; // .= appends in place $joined .= "!"; echo $joined, "\n";
the . operator and .= append