In this PHP programming tutorial, we take a look at Addition and Subtraction in PHP, which includes learning Adding in PHP, and Subtracting in PHP, based on the courseLearn PHP Numbers on Codecademy. In this lesson we begin our journey into the addition and subtraction operators. We are able to add numbers in PHP using the addition operator, and we are able to subtract numbers in PHP using the subtraction operator. Both addition and subtraction operators work on either integers or floating point numbers. We are able to print out a sub or difference with PHP using an echo statement followed by the operation we are trying to do. We are able to add 2 plus 2 and print the result to the console by simply writing “echo 2 + 2;” We can do similar with subtraction, just replace the addition sign with a minus sign (-). Learning addition in PHP and learning subtraction in PHP is your first step in mastering PHP numbers. Make sure to practice adding numbers in PHP and practice subtracting numbers in PHP to truly get a feel for how PHP addition and subtraction works. Try experimenting with echo and create different addition and subtraction problems in PHP! Make sure to understand PHP addition and subtraction before moving on, and when you are ready I will see you in the next lesson. Thanks for watching Addition and Subtraction in PHP, Adding in PHP, Subtracting in PHP, Learn PHP Numbers, Codecademy.