PHP Equivalence to C++ Main function?

augmented

New member
In the C, C++ language as well and a dozen other languages there is a 'Main' function where a program always starts executing from. You never have to call main, the language just knows the main is where to start. Is there a PHP equivalence to the Main function call? Some function that when you load a PHP page it will always start by running that function first.

Keep in mind, I know how to make function calls so I have problems running code. I simple have never found an answer to the above mentioned question. If anything my Google'foo is lacking while searching it up.

Thanks.
 
Back
Top