How to define a function in php 2024 | Skill Wave

Опубликовано: 14 Октябрь 2024
на канале: Skill Wave
31
like

Step 1: In PHP, the function name is any name that ends in an open and closed parenthesis.
Step 2: The keyword function is often used to start a function name. To invoke a function, simply type its name followed by the parenthesis.
Step 3: A number cannot be the first character in a feature name.


~~~~~~~~~~~~~~~~~~~
Thanks for watching.
Any comments are welcome!
~~~~~~~~~~~~~~~~~~~
#how #to #define #a #function #in #php