Function in php : LESSON # 7 [ function] || how to learn php programming

Опубликовано: 14 Октябрь 2024
на канале: IT information
168
34

PHP User Defined Functions || how to learn php programming || learn about php programming || to learn php programming || learn php programming || learn object oriented programming in php
|| how to learn php tutorial


Besides the built-in PHP functions, it is possible to create your own functions.

A function is a block of statements that can be used repeatedly in a program.A function will not execute automatically when a page loads.A function will be executed by a call to the function.

Create a User Defined Function in PHP

A user-defined function declaration starts with the word function:

Syntax

function functionName() {
    code to be executed;
}

Note: A function name must start with a letter or an underscore. Function names are NOT case-sensitive.
#function
For more update

( like share & subscribe this channel)


Social Site:
  / mianusmanjav.  .
  / mianusman184  
  / mianusman184  

Please Subscribe Our Channel And Watch More Videos:
1. https://www.youtube.com/watch?v=rOrbL...
2. https://www.youtube.com/watch?v=uwBMZ...
3. https://www.youtube.com/watch?v=AL4Th...

Hashtag:

#learnphp
#Functioninphp