Volcano T. answered 05/28/19
Programming / SysAdmin / DBA
As the programme is not complied nor pre-run, it runs from LINE 1 to EOF. if you don't intend to mix HTML with pure PHP code, when it reaches EOF, the programme terminate, regardless of reading ?> or not.
if you write php/html mixed, combined in one file, you definitely need to close php syntax segmentation.