Is there a way to display the source code of somepage.php when you go to somepagesrc.php? IOW, is there a PHP function that will in somepagesrc.php output the text contents of the file (or source code) somepage.php?
I understand I could copy the contents of somepage.php into somepage.html but that doesn't cut it for me because I want it to be dynamic so that I don't have to copy the code over every time I make a change.