Addition and Subtraction in PHP, Adding in PHP, Subtracting in PHP, Learn PHP Numbers, Codecademy

Channel:
Subscribers:
7,740
Published on ● Video Link: https://www.youtube.com/watch?v=RXlDLcJzJ5Q



Duration: 1:42
169 views
0


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.




Other Videos By We Will Code


2022-04-18Invoking Functions Explained in PHP, How to Invoke a Function in PHP, Function Invocation Codecademy
2022-04-18Defining Functions in PHP, How to Define a Function in PHP, Codecademy Learn PHP, Create A Function
2022-04-18Intro to PHP Functions, Learn PHP on Codecademy, Intro to PHP Functions, What are Functions in PHP
2022-04-18PHP Numbers Review, Learn PHP on Codecademy, Number Data Types, Math Operators, Order of Operations
2022-04-17PHP Mathematical Assignment Operators, Codecademy Learn PHP, Shorthand Assignment Operators in PHP
2022-04-17How Order of Operations Works in PHP, Codecademy Learn PHP Operator Precedence, PHP Operator Order
2022-04-16How Modulo Works in PHP, Understanding Modulo in Programming, What is Modulo in PHP, Codecademy Help
2022-04-15Exponentiation Explained in PHP, How Exponents Work in PHP, Learn about PHP Exponents, Codecademy
2022-04-15Multiplication and Division in PHP Explained, PHP Numbers, Codecademy Learn PHP for Beginners Guide
2022-04-14Using Number Variables Explained in PHP, Codecademy's Learn PHP, Creating Number Variables using PHP
2022-04-14Addition and Subtraction in PHP, Adding in PHP, Subtracting in PHP, Learn PHP Numbers, Codecademy
2022-04-14PHP Numbers Explained, Types of Numbers, Learn PHP, Codecademy Integer and Floating Point Data Type
2022-04-14Learn About PHP Strings and Variables, Codecademy Learn PHP Review, Strings and Variables Explained
2022-04-13How to Use Assign by Reference, PHP Assign by Reference Explained, Codecademy PHP Variable Alias
2022-04-12The Concatenating Assignment Operator, Codecademy's Learn PHP, Concat Assignment Operator in PHP
2022-04-12PHP Variable Reassignment Explained, How to Reassign a Variable in PHP, Codecademy's Learn PHP Guide
2022-04-11Learn Variable Parsing in PHP, How to Parse Variables in a String with PHP, Codecademy Learn PHP
2022-04-11Using Variables in PHP, How to Use a Variable in PHP, Output Variables in PHP, Codecademy Learn PHP
2022-04-10Creating Variables with PHP, Learning to Write PHP Variables, Understand Variables in PHP Codecademy
2022-04-10How Variables Work in PHP, Variables Explained in PHP, Codecademy's Learn PHP, Strings and Variables
2022-04-09How to Combine Strings in PHP, String Concatenation PHP, Learn to Concatenate Strings, Codecademy



Tags:
Coding
Learn PHP
PHP
Programming
Server-side
back-end
code tutorial
tutorials