Hi.
I deleted your first user note, then I rejected your second user note. User notes are not the proper place to ask for features, nor is this list.
If you REALLY want to pursue this feature, the proper approach is through bugs.php.net (choose "Change/Feature Request").
If you'd like to save yourself some work, though, you just shouldn't bother with this. It can be easily accomplished in user-space, offers no significant advantage over "strtolower($str{0})", and will, most certainly, be vetoed by the powers that be.
S
Peter T wrote:
Suggestion for implementation
"lcfirst()"
Given the handy ucfirst() function that turns the first letter of a string to uppercase, it seems a pity there's not the reverse also: an lcfirst() turning the first letter to lowercase, without substr(), substr_replace() etc workarounds
After all there are both strtoupper() and strtolower() functions.
String manipulations on sentences can find uses for
both ucfirst() and lcfirst()functions, and (for
example) with Mysql systems of related larger and
smaller tables with corresponding uppercase/lowercase
first letter in mixed case names -- and no doubt there are other possibilities of use.
[ Note: Some may argue that the reason that there's no lcfirst() is that sentences are usually lowercase apart from the first letter, so that strtolower() may be all that's needed in such a 'reverse operation.
However: uppercase is of course found within sentences too, eg for names (and even for nouns in some languages), and with modern texting/email writing/intercapping practices that argument also applies less than before, - and apart from uses for an lcfirst() beyond sentence manipulation, as already mentioned. ]
___________________________________________________________ Gesendet von Yahoo! Mail - Jetzt mit 100MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
