Re: Coding Standards: Syntax and identation

From: Date: Sat, 02 Dec 2000 23:37:52 +0000
Subject: Re: Coding Standards: Syntax and identation
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-474@lists.php.net to get a copy of this message
On Sun, 3 Dec 2000, Ulf Wendel wrote: > Chuck Hagenbuch wrote: > > > > Quoting Ulf Wendel <ulf.wendel@phpdoc.de>: > > > > > does PEAR overtake the PHP Coding Standards when it comes to syntax and > > > identation? > > > > I'd guess that the php coding standards, being meant for C, aren't going to > > apply to PEAR most of the time... > > That's true, but it's a good starting point. And wasn't PEAR meant to be > a repository for PHP scripts and PHP extensiions written in C as it > started? As I understand it, yes. Obviously PEAR isn't there yet, and it seems development of the repository to serve this role is more or less at a pause. When and if it does become a repository of both PHP classes and C extensions, it's possible that there would be two coding standards: the existing CODING_STANDARDS used by PHP itself, and another for the PHP classes. In light of how many extensions have been added recently, and the growing number of them which aren't web-related, I think the time is rapidly approaching where a repository for them is needed. Presently, extensions are either included into the main tree, or left to be relatively obscure, since there's no official list of non-included extensions anywhere. (And really, once such a repository is in place, what's to stop PHP from becoming as widespread as Perl?) Matt

« previous php.pear (#474) next »