您的位置:首页 > 编程语言 > PHP开发

第七篇 PHP编码规范

2016-01-08 00:03 609 查看
当码农多年,始终进步不大,前面说了第一个原因是没有明确的目标;第二个原因是没有养成良好的习惯(即优秀的职业规范)。

1)pear 规范 http://pear.php.net/manual/en/standards.php;
2)This could be any combination of PSR’s,规范见 https://github.com/php-fig/fig-standards/tree/master/accepted
3)These recommendations are merely a set of rules that some project lick symfony, Drupal, Zend. 规范见
http://symfony.com/doc/current/contributing/code/standards.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: