Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
互联网应用开发
wiki-php
Wiki
code standard
code standard
· Changes
Page history
wangqs created page: code standard
authored
Jun 13, 2016
by
互联网应用开发
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
code-standard.md
code-standard.md
+6
-1
No files found.
code-standard.md
View page @
8cc1e97d
...
@@ -52,5 +52,10 @@ function im_func($a, $b){
...
@@ -52,5 +52,10 @@ function im_func($a, $b){
4.
全局变量使用需通报所有人
4.
全局变量使用需通报所有人
5.
不得在controller里查询数据库
5.
不得在controller里查询数据库
6.
不得在view层查询数据库
6.
不得在view层查询数据库
7.
待补充
8.
变量名不得出现拼音
9.
变量名的长度超过3;
10.
变量使用前须生命
#### 额外推荐
1.
变量名超过5
\ No newline at end of file