PHP - To echo or not to echo?

前端 未结 7 1032
[愿得一人]
[愿得一人] 2021-01-31 06:05

What is more efficient and/or what is better practice, to echo the HTML or have many open and close php tags?

Obviously for big areas of HTML it is sensible

7条回答
  •  无人及你
    2021-01-31 06:23

    Whatever you do, don't print XML!

    See HOWTO Avoid Being Called a Bozo When Producing XML

提交回复
热议问题