++$a

Increment and return

Increment $a by one, then return it.

Tags
$a = 1;

$b = ++$a; // $a = 2, $b = 2

 1.0+

null coalescing