Re: Re: Syntax in PHP 6
| From: | Ron Korving | Date: | Fri, 02 Dec 2005 15:54:19 +0000 |
| Subject: | Re: Re: Syntax in PHP 6 | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21010@lists.php.net to get a copy of this message | ||
It looks odd because (afaik) most of these functions were born in Unix and
were nice and short. Because of all the abbreviations they're not very
suitable for studlycaps.
Unlike the usage of underscores, the usage of studlycaps is totally optional
anyway, since function names are case insensitive. Because of this, the
usage of studlycaps should be limited to PHP-documentation anyway. So maybe
we should remove underscores altogether and leave it to the user if they
want to use studlycaps?
Just an idea, it's not like there has been a good system in the past. We're
trying to improve here. Maybe it's not perfect (yet?), but at least, imho,
it's an improvement.
- Ron
""Matthew C. Kavanagh"" <matthew@teh.ath.cx> schreef in bericht
news:1133535743.10437.23.camel@localhost.localdomain...
> On Fri, 2005-12-02 at 15:09 +0100, Ron Korving wrote:
>> strPos()
>> arrayMerge()
>> isInt()
>> imageCreateFromString()
>
> fEof() or fEOF()?
> addCSlashes()?
> strIReplace()?
> strCSpn()?
> stripCSlashes()?
> strIPos()?
> strIStr()?
> strNCaseCmp()?
> strNCmp()?
> strPBrk()?
> strRChr()?
> strRIPos()? (That one's my favourite).
> strRPos()?
> uCFirst()?
> uCWords()?
> vFPrintF()?
> vSPrintF()?
>
> Looks wonderful. And that's just the strings. ;)