PHP Function - PHP Tutorial - 16

Publicado em: 05 Setembro 2016
no canal de: onballorg
79
1

What is PHP Function ?
In PHP there are many pre-defined functions, but php gives a facility to create your own function. we can use function again and again repeat in a program. For use of execute a function, we must call the function. PHP Function is not execute while page load, it only execute when we call. There are mainly Four types of PHP Functions:-

1. function without argument
2. function with argument
3. function with default argument
4. function with return.

What is argument function in php ?
Argument is just like a variable in php, it is used to passed a information through functions. It is specified after the function name declaration. In argument function we can use many arguments using comma separater.

What is without argument function ?
In without argument we cannot passed a any information or any variable through functions. When we call the function then function itself execute the statement.

What is function with default argument ?
In PHP the default argument mean the argument value is decalred at the time of argument declaration.

What is returning Values in PHP Function ?
PHP Return is used using return variable. it is used for return any value message etc. If we use return statement and when we call the function then the function return the statement values.

For more clarify please watch this tutorial and learn about php function and there types..

thank you


Nesta página do site você pode assistir ao vídeo on-line PHP Function - PHP Tutorial - 16 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário onballorg 05 Setembro 2016, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 79 vezes e gostou 1 espectadores. Boa visualização!