By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,720 Members | 2,095 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,720 IT Pros & Developers. It's quick & easy.

a coding standard for PHP

P: n/a
What are the mostly widely used coding standards for PHP?

Jul 17 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
DH
lk******@geocities.com wrote:
What are the mostly widely used coding standards for PHP?


PEAR?
http://pear.php.net/manual/en/standards.php
Jul 17 '05 #2

P: n/a
DH wrote:
lk******@geocities.com wrote:
What are the mostly widely used coding standards for PHP?


PEAR?
http://pear.php.net/manual/en/standards.php


Ditto. There are others floating about on the web, but it makes sense
to use the one endorsed by the PEAR. That way if you end up creating
something worth sharing, you already have it in the preferred format.

NM

--
convert uppercase WORDS to single keystrokes to reply
Jul 17 '05 #3

P: n/a
lk******@geocities.com wrote:
What are the mostly widely used coding standards for PHP?


Nothing. Lots of frameworks and apps--and lots of standards. But,
phpdoc comment style seems to be used widely for documentation purpose.

--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/

Jul 17 '05 #4

P: n/a
There is a phpBB coding style.
Visit www.phpbb.com пок more information

Jul 17 '05 #5

P: n/a
I like this one too:
http://www.dagbladet.no/development/phpcodingstandard/
Nice and clean PHP coding standard very similar to PEAR.

Jul 17 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.