Topic: Some pages end with open php tag?

I don't have a problem, but just an idle question: I notice that some files, register.php for example, close with an open php tag

<?php

require PUN_ROOT.'footer.php';

I was just wondering the reason/logic of this. Thanks.

Re: Some pages end with open php tag?

Its not required. The question has been asked a few times. smile

Re: Some pages end with open php tag?

I think your question is "why is there no closing PHP tag"
The answer is that, as StevenBullen said, it's not required. Having the closing tag means that any whitespace after the ?> tag is treated as real whitespace when it's uploaded. This poses a problem in certain files (eg: config.php) and so, since there's no reason to add the closing tag, we don't do it.

Re: Some pages end with open php tag?

I see thank you.