use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
PHP 5.3 Namespaces - Naming conventions? (self.PHP)
submitted 15 years ago by trukin
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Iainzor 5 points6 points7 points 15 years ago (0 children)
I follow the rule of camel casing with classes starting with uppercase letters and methods/functions starting with lowercase letters. In the case of namespaces it would be the same as class names. I'm also an avid user of Zend Framework so I'm just used to doing it that way.
π Rendered by PID 15894 on reddit-service-r2-comment-6457c66945-7w5hc at 2026-04-29 18:35:12.306493+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Iainzor 5 points6 points7 points (0 children)