Short Version: It's not. PHP terminates at ?>
(or possibly %>
if you're using asp style tags).
Long Version: Take a look through your document, try placing various echo statements around to ensure you're exiting where you think you are. Edit the file with a plain text viewer if you can, to make sure your editor isn't hiding anything from you.
Update
Ensure that your include is performing correctly. If it's unable to find that file, or the file doesn't create the user
object, your next line will fail, and PHP will terminate.