Connecting Tech Pros Worldwide Forums | Help | Site Map

a coding standard for PHP

lkrubner@geocities.com
Guest
 
Posts: n/a
#1: Jul 17 '05
What are the mostly widely used coding standards for PHP?


DH
Guest
 
Posts: n/a
#2: Jul 17 '05

re: a coding standard for PHP


lkrubner@geocities.com wrote:[color=blue]
> What are the mostly widely used coding standards for PHP?
>[/color]

PEAR?
http://pear.php.net/manual/en/standards.php
News Me
Guest
 
Posts: n/a
#3: Jul 17 '05

re: a coding standard for PHP


DH wrote:[color=blue]
> lkrubner@geocities.com wrote:
>[color=green]
>> What are the mostly widely used coding standards for PHP?
>>[/color]
>
> PEAR?
> http://pear.php.net/manual/en/standards.php[/color]

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
R. Rajesh Jeba Anbiah
Guest
 
Posts: n/a
#4: Jul 17 '05

re: a coding standard for PHP


lkrubner@geocities.com wrote:[color=blue]
> What are the mostly widely used coding standards for PHP?[/color]

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/

baxi
Guest
 
Posts: n/a
#5: Jul 17 '05

re: a coding standard for PHP


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

mr.fico
Guest
 
Posts: n/a
#6: Jul 17 '05

re: a coding standard for PHP


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

Closed Thread