PHP Mathematical Assignment Operators, Codecademy Learn PHP, Shorthand Assignment Operators in PHP

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



Duration: 4:10
60 views
0


In this PHP coding walkthrough, we take a look at PHP Mathematical Assignment Operators, from Codecademy's Learn PHP course, which is regarding Shorthand Assignment Operators in PHP. This is based on the PHP Numbers section in Codecademy's Learn PHP course. The lesson is, "Mathematical Assignment Operators". In it, we learn that there is a short syntax that is available to us when we want to manipulate a number variable by performing some operation on the value first (addition, subtraction, multiplication, division, modulo). We are able to do this a long way, which allows us to add a new value to a variable, but the long way looks something like this ($x=$x+$y), while the short version for doing the same thing looks like this ($x+=$y). Though it may not seem like a big deal to be able to save a couple keyboard strikes, in the long run, it is very beneficial, and it also makes code more readable. Learning how Mathematical Assignment Operators work in PHP is important as you advance in your PHP programming journey. Make sure to practice using mathematical assignment operators in PHP and also make sure you understand how mathematical assignment operators work before moving on. Thanks for watching PHP Mathematical Assignment Operators, Codecademy's Learn PHP, Shorthand Assignment Operators in PHP.




Other Videos By We Will Code


2022-04-20Multiple Parameters in PHP, Using Multiple Function Parameters in PHP, Codecademy Learn PHP Coding
2022-04-19Function Parameters Explained, What are Parameters and Arguments in PHP, Passing in Arguments in PHP
2022-04-19What is Null in PHP, Returning Null Explained in PHP, Null Values in Programming, Codecademy PHP
2022-04-19PHP Function Return Values, PHP Return Values Explained, Codecademy PHP, Understand Return Values
2022-04-19More on Return Statements, PHP Codecademy Free Programming Course, PHP Return Keyword, PHP Functions
2022-04-19Return Statements Explained, What is a Return Statement in PHP, Codecademy PHP, Return Statements
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



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