0

PHP Function

Hi i want to understand something. when i am inside a function in php like : function MyFunction() { include("myFile.php"); } it i call the function does the file myFile.php will be included in the whole Script or only inside the function ?

21st Jan 2021, 4:03 PM
MΛΛRS
MΛΛRS - avatar
1 Antwort
0
The file php will be included once u call ur function in the whole script . If u don't call the file won't be included
21st Jan 2021, 9:56 PM
Nassera
Nassera - avatar