Question: can wget download php files?
Answer: A PHP file is executed server-side and CANNOT do anything to your web browser. ... 
If you are looking to avoid having your web browser download and execute potentially malicious client-side code then you can use wget to download the output into a file which you can then open with Notepad. ... 
@Zaibis You're mostly correct.