What is ment by function in php | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What is ment by function in php

What is ment by function in php. describe diffrent between mail() function and we make own function.

4th Oct 2017, 3:35 PM
Vinay.s
Vinay.s - avatar
1 Réponse
+ 1
a function is a code that can be re-used for doing a similar process. when declaring a function we use the keyword *function* .so when a function has already been declared u can use a callback technique to initiate it... Example: ***declaring a function *** function mail (){ //code to run } ******** call back technique **** mail (); - this runs the code within the function u declared
5th Oct 2017, 5:51 PM
Antony O. Onyango
Antony O. Onyango - avatar