V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
hfcorriez
V2EX  ›  PHP

最近翻译的PHP编码规范文档

  •  
  •   hfcorriez · Mar 6, 2013 · 7825 views
    This topic created in 4801 days ago, the information mentioned may be changed or developed.
    出自PHP FIG(PHP Framework Interoperability Group)

    到目前为止已经出了4个标准

    PSR-0:自动加载器
    PSR-1:基础代码规范
    PSR-2:代码样式规范
    PSR-3:日志规范

    建议开发者都使用相同的标准。不管是库或者框架,在使用上和书写上若保持一致,会有利于PHP的发展,降低开发成本。

    建议各位PHPer使用该规范,翻译有问题还望各位指正。

    访问地址: https://github.com/hfcorriez/fig-standards
    Supplement 1  ·  Mar 6, 2013
    4个标准刚刚全部翻译完了。
    求帮忙侦错,补漏!谢谢!
    7 replies    1970-01-01 08:00:00 +08:00
    lemonleo
        1
    lemonleo  
       Mar 6, 2013   ❤️ 1
    顶一个。
    hfcorriez
        2
    hfcorriez  
    OP
       Mar 6, 2013
    @lemonleo 欢迎指正
    YQtaku
        3
    YQtaku  
       Mar 6, 2013
    已送感谢,给力~
    yelusiku
        4
    yelusiku  
       Mar 7, 2013
    好精力啊
    hfcorriez
        5
    hfcorriez  
    OP
       Mar 7, 2013
    @YQtaku 哈!
    hfcorriez
        6
    hfcorriez  
    OP
       Mar 7, 2013
    @yelusiku 也算了个心事
    moxuanyuan
        7
    moxuanyuan  
       Aug 7, 2013
    GOOD JOB
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4403 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 00:10 · PVG 08:10 · LAX 17:10 · JFK 20:10
    ♥ Do have faith in what you're doing.