不悔梦归处只恨太匆匆是什么意思| 宗人府是干什么的| 没有美瞳护理液用什么代替| 新生儿黄疸吃什么药| 烘焙是什么意思| 基础医学是什么| 天青色等烟雨是什么意思| 4月10号什么星座| 阴阳两虚用什么药| 寿命是什么意思| 手串14颗代表什么意思| 为什么会心肌梗死| 葡萄糖氯化钠注射作用是什么| 睡觉脚麻是什么原因| 属鸡和什么属相相克| 北京晚上有什么好玩的景点| 李逵代表什么生肖| 为什么加油站不能打电话| 防中暑喝什么水| 水的ph值是什么意思| 男性生殖器官叫什么| 坦诚相待是什么意思| 经常胃胀气是什么原因引起的| 眉目的比喻义是什么| 藏青色配什么颜色好看| 乙亥日五行属什么| 发烧42度是什么概念| 三伏贴什么时候贴最好| 病人是什么生肖| 低血糖不能吃什么食物| 吃无花果有什么好处| 老人手抖是什么病的预兆| 人工流产后可以吃什么| 地下党是什么意思| 看破红尘下一句是什么| 母亲节送妈妈什么礼物好| 好聚好散是什么意思| 为什么智齿老是发炎| 4.14是什么星座| 痛风是什么地方痛| z是什么品牌| 吊儿郎当什么意思| 提辖相当于现在什么官| 随诊复查是什么意思| acb是什么意思| 九头身是什么意思| 卡地亚蓝气球什么档次| 鼓包是什么意思| 阴霾是什么意思| 被蜈蚣咬了用什么药| 黄疸严重会造成什么后果| 什么是肥皂剧| 今天属什么生肖日历| 肚子容易饿是什么原因| 同人文是什么意思| 国家为什么要扫黄| 怨念是什么意思| 对等是什么意思| 电镀对人体有什么危害| 小柴胡颗粒主要治什么| 肺炎后遗症有什么症状| ppi下降意味着什么| 维生素b12有什么作用| 手指头发麻是什么原因引起的| cip是什么意思| 灶性肠化是什么意思| 晧字五行属什么| 刘邦是汉什么帝| 小麦淀粉可以做什么| 油价什么时候上涨| skr什么意思| 老鼠疮是什么病| 眉毛上长痘是什么原因| 传销是什么意思| 同房痛什么原因引起的| 饱和什么意思| 爱长闭口用什么护肤品| 鹿茸是什么| 怀孕一个月吃什么对宝宝发育好| 啮齿类动物什么意思| 愚孝什么意思| 鱼油是什么| 太阳代表什么数字| 过敏性鼻炎吃什么药好| 孕妇低血压什么补最快| 股骨径是指胎儿什么| 雅典娜是什么神| 10.16是什么星座| 幼儿牙齿黑是什么原因| 娃哈哈纯净水是什么水| us是什么单位| 宫颈小有什么影响| 笑口常开是什么生肖| 随笔是什么意思| pms是什么| 发明什么| 血栓是什么| 八月二十五是什么星座| 尿酸高是什么症状| 人生座右铭是什么意思| 吃小龙虾不能和什么一起吃| 6月26日是什么日子| 狗狗为什么会得细小| 6月20号什么星座| naco是什么牌子| 心电轴重度左偏是什么意思| 丙二醇是什么| 害喜是什么意思| 郫县豆瓣酱能做什么菜| 指甲长出来是白色的什么原因| 哈儿是什么意思| 口苦尿黄是什么原因| 血淋是什么意思| 孕妇吃什么鱼好| 夹不住尿是什么原因| 紫藤花什么时候开花| 什么是血尿| 老年人腿肿是什么原因引起的| 中性粒细胞绝对值偏高是什么原因| 什么人从来不看医生| 尿发黄什么原因| 尿发黄是什么原因| 13什么意思| 守株待兔是什么生肖| 梦见豆腐是什么意思| 男人爱出汗是什么原因| 眼睛oct检查主要检查什么| 幡然醒悟是什么意思| 最近我和你都有一样的心情什么歌| 稷读什么| 道家思想的核心是什么| 一元硬币是什么材质| 白骨精什么意思| 吃夏枯草有什么副作用| 欢字五行属什么| 甲状腺属于什么科| 什么是卵泡期| l是什么码| 谍影重重4为什么换主角| SS是什么| 鸡蛋和面粉可以做什么好吃的| 多吃玉米有什么好处和坏处| 生长纹是什么| 经常流鼻血什么原因| 胃疼吃什么| 五郎属什么生肖| 2楼五行属什么| 地中海贫血携带者是什么意思| 脚趾头疼是什么原因| 麦冬是什么| 扫把和什么是一套的| 红细胞偏低是什么原因| 自贸区什么意思| 右肩膀和胳膊疼痛是什么原因| 什么品牌的洗衣机最好| 四查十对的内容是什么| 梦见鸡啄我是什么意思| advil是什么药| 放屁是什么意思| 鸡是什么动物| 空调自动关机什么原因| 812是什么意思| 日什么月什么的成语| 膝关节痛什么原因| 腋臭和狐臭有什么区别| 甲胎蛋白增高说明什么| 三阳开泰是什么生肖| 经常打嗝是什么原因引起的| 非洲人一日三餐吃什么| 一个永一个日念什么| 什么茶降血脂最好| 微信附近的人都是些什么人| 肆无忌惮的意思是什么| 大力念什么| 烂脚丫用什么药最好| 马齿苋与什么食物相克| 起风疹的原因是什么引起的| 低压高吃什么降压药| co什么意思| 儿童登机需要什么证件| 真身是什么意思| 什么颜色加什么颜色是红色| 梦见韭菜是什么预兆| 前列腺有什么作用| 什么的精神| 疏肝解郁吃什么药| aq是什么| 肌酐升高是什么原因| 办健康证需要带什么| 嗓子有黄痰是什么原因| 房中术是什么意思| 什么食物对心脏有好处| 江团鱼是什么鱼| 催乳素高是什么原因| hla是什么意思| 腿上长水泡是什么原因引起的| hot什么意思| 什么可以消肿快的方法| 酸菜鱼加什么配菜好吃| 痔疮什么感觉| 手串什么材料的最好| 暴饮暴食会得什么病| 为什么不能下午看病人| 藏红花泡水喝有什么功效和作用| 怀孕吐得厉害吃什么可以缓解| 萎缩性胃炎吃什么药效果好| 上环要做什么检查| 下水道井盖为什么是圆的| 漂亮的近义词是什么| 4月9日什么星座| 女人排卵是什么时候| 跑龙套是什么意思| 百合和什么搭配最好| 属兔配什么属相最好| 望梅止渴是什么故事| 夏令时是什么| 为什么同房后小腹疼痛| 什么穿针大眼瞪小眼| 卵巢囊性暗区是什么意思| 两袖清风是什么生肖| leu是什么氨基酸| 地什么人什么| 河南南阳产什么玉| 胡同是什么意思| 赵本山什么学历| 肌肤之钥是什么档次| 沙拉酱可以做什么美食| 白日做梦是什么生肖| 中元节是什么时候| 六月份生日是什么星座| 草字头加西读什么| 红曲红是什么| 芥蒂是什么意思| 琴代表什么生肖| 吗丁啉是什么药| 月经量少吃什么药| 孩子肚子疼吃什么药| 尿分叉是什么原因引起的| 7月24是什么星座| 为什么嘴巴老是干| 三什么一什么四字词语| 蜜蜂飞进家里预示什么| 回甘是什么意思| 气胸是什么症状| 梦到鬼是什么意思| 甲亢在中医里叫什么病| 黄芪什么季节喝最好| 什么食物热量低| 鼻翼长痘是什么原因| 什么是应力| 什么是反流性食管炎| 红枣为什么要炒黑再泡水喝| 吃海参有什么功效| hf医学上是什么意思| 脾是什么| 紫光檀是什么木| 宝宝拉肚子吃什么药| 诺贝尔奖为什么没有数学奖| 负氧离子是什么| 酉时是什么时候| 梦见火是什么预兆| 做了胃镜多久可以吃东西吃些什么| 奔头是什么意思| 什么什么生机| 百度

Table of Contents

分手送什么花

Introduction

百度 远洋·金融街颐璟春秋位于大兴新城义和庄板块,由远洋地产和金融街控股两大巨擘匠心矩献。

The results of the Class Naming RFC decided that class names should be written in PascalCase (“Upper Camel Case”), with the exception of acronyms, which should be included in UPPERCASE. This RFC proposes to revisit the prior decision, instead treating acronyms like regular words, making classnames consistent PascalCase.

Reasoning

It is not consistently applied

As an example ext/json has JsonException which should've been JSONException according to the previous RFC’s results. In fact JsonException’s RFC was created just 3 months (!) after the class naming RFC in September 2017.

Another example is ext/curl which has both CurlHandle and CURLFile. CURLFile predates the RFC, but there's also CURLStringFile which was added in PHP 8.1 and likely followed CURLFile’s naming for consistency, but violating the RFC and being inconsistent with CurlHandle.

ext/random’s Random\Engine\PcgOneseq128XslRr64 would've needed to be called Random\Engine\PCGOneseq128XSLRR64 according to the class naming RFC.

The PDO driver specific sub-classes RFC voted (and accepted) for PHP 8.3 and implemented in PHP 8.4 uses Pdo<Driver>, e.g. PdoOdbc instead of PDOODBC.

It decreases readability

It is well-established in accessibility circles that ALL CAPS text is harder to read than Mixed Case, as mixed case provides greater vertical variation between letters, making it easier to read, especially for people with various reading disorders.

Most accessibility organizations recommend against ALL CAPS. For example:

That issue is amplified if multiple acronyms follow each other. One example is the PCGOneseq128XSLRR64 mentioned above: It’s not clear that XSL (XorShiftLow) and RR (RandomlyRotate) are two different acronyms.

Likewise PDOODBC is much harder to parse than PdoOdbc.

Another example might be JavaScript’s XMLHttpRequest which incidentally mixes both variants. According to the class naming RFC it would need to be called XMLHTTPRequest, resulting in 8 consecutive uppercase characters.

The userland convention is mostly MixedCase

Although there is no formal standard in userland for handling initialisms, the most widely used convention is to only capitalize the first letter. For example:

Although this RFC has no direct impact on userland code, normalizing conventions between Internals and userland has many benefits. The PER-CS working group, part of the PHP-FIG, has been asked to adopt a standard for initialisms and would likely follow suit with this RFC if passed.

Proposal

Update to the Policy

The class naming policy should be updated to the following, with changes highlighted:

Method names follow the studlyCaps (also referred to as bumpy case or camel caps) naming convention, with care taken to minimize the letter count. The initial letter of the name is lowercase, and each letter that starts a new word is capitalized.

Class names should be descriptive nouns in PascalCase and as short as possible. Each word in the class name should start with a capital letter, without underscore delimiters. The class name should be prefixed with the name of the “parent set” (e.g. the name of the extension) if no namespaces are used.

Abbreviations and acronyms as well as initialisms should be avoided wherever possible, unless they are much more widely used than the long form (e.g. HTTP or URL). Abbreviations start with a capital letter followed by lowercase letters, whereas acronyms and initialisms are written according to their standard notation. Abbreviations, acronyms, and initialisms should be treated like regular words, thus they should be written with an uppercase first character, followed by lowercase characters. Usage of acronyms and initialisms is not allowed if they are not widely adopted and recognized as such.

Diverging from this policy is allowed to keep internal consistency within a single extension, if the name follows an established, language-agnostic standard, or for other reasons, if those reasons are properly justified and voted on as part of the RFC process.

Examples

Good method names:

connect()
getData()
buildSomeWidget()
performHttpRequest()

Bad method names:

get_Data()
buildsomewidget()
getI()
performHTTPRequest()

Good class names:

Curl
CurlResponse
HttpStatusCode
Url
BtreeMap // B-tree Map
UserId // User Identifier
Char // Character
Intl // Internationalization
Ssl\Certificate
Ssl\Crl // Certificate Revocation List
Ssl\CrlUrl

Bad class names:

curl
curl_response
HTTPStatusCode
URL
BTreeMap
UserID // User Identifier
CHAR
INTL
SSL\Certificate
SSL\CRL
SSL\CRLURL

Adjusting class & method names added in PHP 8.4

The DOM HTML5 parsing and serialization RFC introduced new class names and method names that violate the updated naming policy, should this RFC be accepted. As part of this RFC, the following changes will be made:

For the Improve callbacks in ext/dom and ext/xsl RFC the following changes will be made:

Backward Incompatible Changes

Existing class and method names in released versions are not affected, thus there are not backwards incompatible changes. This is a policy RFC.

Proposed PHP Version(s)

Next PHP 8.x (PHP 8.4).

RFC Impact

To SAPIs

SAPIs that expose classes should take the RFC results into account.

To Existing Extensions

Extensions should take the RFC results into account.

To Opcache

None.

New Constants

None.

php.ini Defaults

None.

Open Issues

None.

Unaffected PHP Functionality

Everything that is not a class name of an internal class. Everything that is already in PHP.

Future Scope

None.

Proposed Voting Choices

Adopt the updated class naming policy and adjust the new names introduced in PHP 8.4?
Real name yes no
alcaeus (alcaeus)  
beberlei (beberlei)  
crell (crell)  
devnexen (devnexen)  
dharman (dharman)  
ericmann (ericmann)  
galvao (galvao)  
girgias (girgias)  
ilutov (ilutov)  
kguest (kguest)  
klaussilveira (klaussilveira)  
kocsismate (kocsismate)  
mauricio (mauricio)  
mbeccati (mbeccati)  
nicolasgrekas (nicolasgrekas)  
nielsdos (nielsdos)  
ocramius (ocramius)  
petk (petk)  
ramsey (ramsey)  
saki (saki)  
sergey (sergey)  
theodorejb (theodorejb)  
thorstenr (thorstenr)  
timwolla (timwolla)  
Final result: 23 1
This poll has been closed.

Patches and Tests

None, yet. This RFC will result in changes to:

Implementation

References

Rejected Features

n/a

集体户口和个人户口有什么区别 非洲割礼是什么 天上的星星为什么会发光 人造革是什么材质 西湖醋鱼用什么鱼
梦到吃螃蟹是什么意思 永无止境是什么意思 吃牛肉对身体有什么好处 当伴郎有什么讲究 od是什么意思
清分日期是什么意思 人心叵测是什么意思 百合花什么颜色 嗓子突然哑了是什么原因引起的 吃什么药可以流产不用去医院
当归不能和什么一起吃 结石挂什么科 井井有条是什么意思 程咬金的老婆叫什么 打边炉是什么
男人前列腺在什么位置cl108k.com 松花粉有什么功效hcv8jop5ns4r.cn 抖是什么意思hcv8jop3ns3r.cn 脑供血不足会导致什么后果hkuteam.com bjd娃娃是什么hcv8jop2ns7r.cn
长情是什么意思hcv7jop4ns8r.cn 小肚子鼓鼓的什么原因hcv7jop5ns6r.cn 轶是什么意思hcv7jop9ns3r.cn 副县级是什么级别hcv8jop4ns2r.cn 10月24号是什么星座hcv8jop5ns4r.cn
甲状腺肿大吃什么药xjhesheng.com guava是什么水果hanqikai.com 辟加木念什么hcv8jop8ns3r.cn 咖啡有什么营养imcecn.com 飞机下降时耳朵疼是什么原因hcv7jop7ns4r.cn
对比度是什么意思hcv9jop6ns8r.cn 生理年龄是什么意思imcecn.com 沦落什么意思hcv8jop1ns2r.cn 热毒是什么hcv9jop4ns5r.cn 羊肉和什么菜搭配最好hcv9jop1ns9r.cn
百度