A simple php file like echo $something will not need other files to run.

If you intend to use graphics and database lots will be needed.

I use phpedit and it needs nothing else for most testing..