Home > Backend Development > PHP Tutorial > php大括号应当放在哪里

php大括号应当放在哪里

WBOY
Release: 2016-06-13 11:08:24
Original
1865 people have browsed it

php大括号应该放在哪里?

------解决方案--------------------
个人习惯而已

不过你若还有书写 js 程序的需求的话,那么建议你使用第一种写法。以避免 js 中 {} 的二义性问题

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template