RE: Re: [PHP-CVS] cvs: php-src / CODING_STANDARDS

php.internals

Sascha Schumann

22 years ago
> The fact that PEAR has a serious problem extending non studlyCap objects is > probably something a lot of people in PHP core don't care about.
Please elaborate. - Sascha

Lukas Smith

22 years ago
> From: Sascha Schumann [mailto:sascha@schumann.cx] > Sent: Wednesday, December 03, 2003 4:39 PM
> > The fact that PEAR has a serious problem extending non studlyCap objects > is > > probably something a lot of people in PHP core don't care about. > > Please elaborate.
Well if I extend a class that doesnt use studlyCaps, yet the PEAR CS requires that I use studlyCaps, then I have a problem. Essentially I can only wrap and not extend. I guess you can say this is our problem however, since we could also choose to loosen our CS to allow underscores. I don't feel that having to ways in there is the way to go. I prefer to stay with one which results in the fewest breaks with the outside world. Regards, Lukas