ok, I set up a little test and that's how I found out how it works.
I did this:
root folder: test
echo 'hello world';
when I point my browser to index.php, I get 'hello world' displayed in the browser.