Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W
wiki-php
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • 互联网应用开发
  • wiki-php
  • Wiki
  • code standard

code standard · Changes

Page history
wangqs created page: code standard authored Jun 13, 2016 by 互联网应用开发's avatar 互联网应用开发
Hide whitespace changes
Inline Side-by-side
Showing 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){ ...@@ -56,7 +56,7 @@ function im_func($a, $b){
9. 变量名的长度超过3; 9. 变量名的长度超过3;
10. 变量使用前须声明 10. 变量使用前须声明
11. 待补充 11. 待补充
12. 前端过来的数据谨慎处理,第一时间考虑 注入和跨站的可能性
#### 额外推荐 #### 额外推荐
...@@ -64,3 +64,4 @@ function im_func($a, $b){ ...@@ -64,3 +64,4 @@ function im_func($a, $b){
2. 不得对对象使用未声明的属性 2. 不得对对象使用未声明的属性
3. 待补充 3. 待补充
4. bll中的方法 尽量避免 get_xxx_by_where这种条件 4. bll中的方法 尽量避免 get_xxx_by_where这种条件
Clone repository
  • 360safeguardnativeapi
  • all new classmate
  • bind phone
  • code standard
  • deploy_sys
  • edit common
  • edit master
  • envrioment
  • find psw
  • front new classmate
  • front statck
  • git
  • Home
  • idcard md5
  • ide
View All Pages