Suppose I have three files, file1.php, file2.php, and file3.php.
file2.php and file3.php are in includefiles, a subdirectory in a directory in which file1.php is stored.
Ie, the top level directory contains
file1.php
includefiles
includefiles contains:
file2.php
file3.php
file1.php has to include file2.php, and file2.php has to include file3.php
What I originally did was I made file1.php include(includefiles/file2.php), and file2.php include(file3.php). This worked fine
However, I accidentally made the include in file2.php as include(includefiles/file3.php), and it still worked!
When are includes executed? Is one way the more correct way?
Thanks