2022年6月20日(月) 22:16 Guilliam Xavier <guilliam.xav...@gmail.com>:
> Hi, > > > https://wiki.php.net/rfc/random_extension_improvement > > Thanks, but I am not sure about your argument in "Classnames are not > canonicalized": does "PHP applies strict PascalCase to class names" > (which remains to be proved) really imply to rename *acronyms* (e.g. > "CombinedLCG" to "CombinedLcg")? especially given existing classes > like "SimpleXMLElement" (not "SimpleXmlElement"), and that the > accepted "Class Naming" RFC (https://wiki.php.net/rfc/class-naming) > voted for "PascalCase except Acronyms" (not "Always PascalCase") -- > excerpts: > > | Abbreviations start with a capital letter followed by lowercase > letters, whereas acronyms and initialisms are written according to > their standard notation. > > | Good: > | 'CurlResponse' > | 'HTTPStatusCode' > > | Bad: > | 'curl_response' > | 'HttpStatusCode' > > (Not that I really care but...) > > Regards, > > -- > Guilliam Xavier > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > Hi > "Class Naming" RFC (https://wiki.php.net/rfc/class-naming) My apologies! I had missed this RFC. I had assumed from the `XmlParser` implementation that it was "Always PascalCase". Actually, I much prefer "PascalCase except Acronyms". I have corrected the RFC and removed the section. Thanks! Regards Go Kudo