php echo vs open&close tag

后端 未结 6 1083
清歌不尽
清歌不尽 2020-12-01 11:16

Just to clarify: The issues \"echo vs print\" and \"double quotes vs single quotes\" are perfectly understood, this is about another thing:

Are there any re

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-01 11:56

    I agree with Peter Bailey. However, in views I use the alternative syntax for statements, and much prefer short tags (particularly for echoing). So the above example would instead read:

     

    I believe this is the preferred standard for Zend Framework.

提交回复
热议问题