Is there any possible way when in one file - please note, just one file. To call a function when it isn\'t defined yet, e.g.
You cannot call undefined function, it will raise a fatal error. although in procedural code it can be called and afterwards defined. As the script is first parsed then executed. includes don't matter, they behave as if they were written in the exact file.
there's no such thing as a variable "from a file". if the code defines the variable is not run, it can't be there.