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

php大括号应当放在哪里

WBOY
WBOYOriginal
2016-06-13 12:59:51815browse

php大括号应该放在哪里?

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

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

Statement:
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