You can have the source code display for a script if you extend it with .phps.
I am assuming that you want to display the code, if not and your code is showing this means it is not parsing and your server is set up incorrectly or it is not parsable in the file extesion you have chosen.