2 ms·
Good example, but in the case of PHP, emitting the ending tag is completely acceptable by the standard and is a common best practice as well, especially if your
by basilgohar 3y ago
Good example, but in the case of PHP, emitting the ending tag is completely acceptable by the standard and is a common best practice as well, especially if your final content in the file is PHP code and not, for example, HTML.
I think what the you're suggesting is more like stretching the rules and perhaps going outside of the standard a little, but in a way that most implementations would be able to handle.