Today I am going to share how to make or declare a function in PHP . Declaring a function is not so critical. We create function to use it repeatedly. There are many advantages of using function. We will learn that by creating lots of function one by one. Now let's start to know what is function, how to declare it and what is the necessary of that. Function: A function is block of statements that we can use in our program as much as we need and as long as we need. There are many built in functions in PHP. But we will learn how to create or declare user defined functions. Function Signature: In function signature there are four things that we should follow. These are: the 'function' keyword, function name, function parameters and the infamous curly brace. Now we will learn what they are and how they looks like. Very simple example of declaring a function. 1. K eyword : ...