Work with variables in PHP is easy.

If you need a sum of numbers – use “+”
If we concatenate two lines – use “+”

$x = 3;
$y = 4;
$z = $x + $y;

$i = "Hello";
$y = "World";
$k = $i + $k;