Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

If the files use mode switching and generate markup, feel free to put a closing ?> at the end of the php in that file. It's a template and it's expected that you would be switching in and out of html/php modes.

The recommendation is to not put them at the end of files that declare symbols, e.g. class files (or function files if you're allergic to OOP), as those files shouldn't have html mode output anyway.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: