Formatting and closing PHP tag