Why does YII remove the trailing ?> on files. Not a issue just wondering.
Why does YII remove the trailing ?> on files. Not a issue just wondering.
I think this is used to avoid having trailing white space that may cause a “headers not sent because there’s already an output etc”
i think it’s common nowdays to remove closed php tag. i see it in many development company.
but beware when u include txt files in the last line. (if i m not wrong?)