101 of 110 menu

The Sum of Numbers in PHP

This page shows an example of getting the sum of numbers in PHP. See the example:

<?php $a = 5; $b = 10; $c = $a + $b; echo $c; ?>

Code execution result:

15
English
БеларускаяEspañolРусский
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline