php - 分析可变长度

标签 php coding-style

是否有代码分析实用程序可以执行诸如计算脚本或一堆脚本中的平均变量长度之类的操作?我痴迷于编程的语言方面。我很想知道不同的框架或 CMS 在这方面的比较。

最佳答案

Is there a code analyzing utility that can do things like calculating the average variable length in a script or a bunch of scripts? I'd be curious to see how different frameworks or CMSs compare in that aspect.

您的问题不清楚,但您可能正在寻找分析器,请查看:

alt text

I'm just obsessed with naming conventions and the linguistic aspect of programming.

你需要看看PHP Coding Standards实际上。

关于php - 分析可变长度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3486860/

相关文章:

php - 使用自动增量 ID 插入和更新记录

php - 设法将 Mysql 时间戳格式化为英国日期格式,但无法包含时间

c# - 关于编写更具可读性的代码的建议?

PHP 可用性[]\用 mySQL 查询

php - 服务器端的 CSS 亮度/对比度

javascript - 如何在多个变量中分离ajax响应以及如何调用它们?

coding-style - 编码风格...首先还是最后一个错误条件?

java - 实例化用户定义类型集合的约定是什么?

c# - 切换内部循环影响性能?

java - 跨团队强制执行 Github 存储库的编码标准