When I check your site, I see both the ?> content, but also that the status code of the request is 500. This suggests that not only do you only see that content, the underlying PHP code also crashed.
One thing you can do is enable error messages. That should give you an actual error message which will probably help in figuring out what’s going on.