You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to php...@googlegroups.com
I'm wondering why camelCase was chosen as the way to declare method names when every function in the PHP core uses under_scores. Is it a way differentiate the methods in userland from the methods in core or just a style preference? I'm curious of the reasoning.
justin
unread,
Oct 30, 2012, 5:37:32 PM10/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to php...@googlegroups.com
Core *functions* use underscores. Core *classes* use camel case:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to php...@googlegroups.com
PSR-1/2 are essentially a result of surveying all of the member project CS and taking the common denominator. going down to the origins, afaik the reason is the Horde project, which was the role model for PEAR, which was the role model for ZF, which was the role model for Doctrine/Symfony.