Return Statements Explained, What is a Return Statement in PHP, Codecademy PHP, Return Statements

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



Duration: 2:39
88 views
3


Welcome back to Codecademy's Learn PHP, today we are looking at Return Statements Explained, What is a Return Statement in PHP, Codecademy PHP, Return Statements. We learn that as we create more complex functions we will often use them to process data. If we want our data to be helpful, functions have the ability to return a value in addition to performing sets of instructions. We are able to return values using a return statement. To use a return statement in PHP we use the "return" keyword, followed by what we want to be returned. We are then able to capture the return value in a variable for later use. The function return statement we see in our example is a bit silly, but the ability to return a value is extremely powerful and useful. Practice creating return values in your functions and try to understand how return statements work by creating your own functions with return statements. Make sure to understand return statements in PHP before moving on. Learn about PHP return statements in functions and truly begin to master PHP. Becoming a professional PHP developer takes time and patience. Make sure to take your time breaking down return statements to really understand how return statements work. Thanks for watching Return Statements Explained, What is a Return Statement in PHP, Codecademy PHP, Return Statements.




Other Videos By We Will Code


2022-04-25Intro to Built-In PHP Functions, How to Use Built-In PHP Functions, Built-In Functions in PHP Guide
2022-04-24Review of PHP Functions, Intro to PHP Functions, Review, Create a PHP Function, Invoke a Function
2022-04-22How Variable Scope Works in PHP, Variable Scope Explained, Local vs Global Scope, PHP Function Scope
2022-04-21What is Pass By Reference in PHP, Pass By Reference Explained, Learn PHP Codecademy, Parameter Alias
2022-04-21Default Parameters in PHP, Default Parameters in Functions, PHP on Codecademy PHP Default Arguments
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



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