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
2 additions
and
1 deletion
+2
-1
code-standard.md
code-standard.md
+2
-1
No files found.
code-standard.md
View page @
216f7be9
...
...
@@ -56,7 +56,7 @@ function im_func($a, $b){
9.
变量名的长度超过3;
10.
变量使用前须声明
11.
待补充
12.
前端过来的数据谨慎处理,第一时间考虑 注入和跨站的可能性
#### 额外推荐
...
...
@@ -64,3 +64,4 @@ function im_func($a, $b){
2.
不得对对象使用未声明的属性
3.
待补充
4.
bll中的方法 尽量避免 get_xxx_by_where这种条件