Adding 10 to an integer variable

$number = 5;
$sum = $number + 10;
echo $sum; // Output: 15

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *