We use the double plus (++) operator to increment the numeric value in a variable and the double minus (–) operator to subtract a value.

Sample usage:

<?php
$a = 10;
$a++;
echo $a;
?>

It will print 11. We increased the value of $a by 1 and printed it on the screen.