those symbols and random words are php code!
To open it as a php it needs to be on a server with php installed.
so just upload it to your ftp/host and open it there. It will work then