php PSR-0 代表什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15523217/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 09:24:42  来源:igfitidea点击:

What does PSR-0 stand for?

php

提问by Yang

I know what PSR-0is, and how, why, where to use it.

我知道PSR-0是什么,以及如何、为什么、在哪里使用它。

I've googled for this and looked around stackoverflow related posts, but could notfind anything. Even on its official pagethere's no such definition.

我GOOGLE了这个四处张望计算器相关的职位,但未能发现任何东西。即使在其官方页面上也没有这样的定义。

So, the question is, what does PSR-0 exactly stand for?

那么,问题是,PSR-0 到底代表什么?

采纳答案by Rob

PSR stands for PHP Standard Recommendation as explained on http://www.php-fig.org/faqs/#what-does-psr-stand-forand here http://www.php-fig.org/psr/

PSR 代表 PHP 标准建议,如http://www.php-fig.org/faqs/#what-does-psr-stand-for和此处http://www.php-fig.org/psr/ 所述

回答by gregseth

PSR is a specification for defining a coding standard for PHP. Currently there are six accepted recommendations:

PSR 是定义 PHP 编码标准的规范。目前有六项被接受的建议:

each addressing a specific aspect of coding.

每个都针对编码的特定方面。

回答by Pleo

PSR, a PHP Specification Request, is an attempt to standardise the way people use PHP in the hope that different sets of code libraries will work together. http://petermoulding.com/php/psr

PSR,一种 PHP 规范请求,试图标准化人们使用 PHP 的方式,希望不同的代码库能够协同工作。 http://petermoulding.com/php/psr

回答by Deepu

PSR stands for Proposing a Standards Recommendation. I'm not sure if it's used anywhere else, but in the current context it is part of PHP-FIG (PHP Framework Interoperability Group).

PSR 代表提出标准建议。我不确定它是否在其他任何地方使用过,但在当前上下文中,它是 PHP-FIG(PHP 框架互操作性组)的一部分。

For further reference http://blog.jayawi.com/psr-0/

进一步参考 http://blog.jayawi.com/psr-0/