Not being a php person, he will try to understand this in a general sense. HTML for browsers and php for server side. When your pages get to the browser, there is only HTML, and if I'm not mistaken, since php should behave similarly to yo jsp, on serveride html are considered as simple lines that need to be printed in a stream. Therefore, ideally, it does not matter what comes first.
From the point of view of good practice, since this is php code (in my case jsp), the output of which will be html, I am trying to give more java feel to my code file.
source
share