php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52380 Typo in lcfirst comment docs
Submitted: 2010-07-19 21:46 UTC Modified: 2010-07-23 11:02 UTC
From: toddw at activestate dot com Assigned: aharvey (profile)
Status: Closed Package: Strings related
PHP Version: trunk-SVN-2010-07-19 (SVN) OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
31 + 12 = ?
Subscribe to this entry?

 
 [2010-07-19 21:46 UTC] toddw at activestate dot com
Description:
------------
The lcfirst function has the wrong proto comment name - being "ucfirst" instead of "lcfirst", see snippet from "ext/standard/string.c" below:

  /* {{{ proto string ucfirst(string str)
     Make a string's first character lowercase */
  PHP_FUNCTION(lcfirst)
  {



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-20 06:14 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Type: Documentation Problem +Type: Bug -Package: Documentation problem +Package: Strings related -Assigned To: +Assigned To: aharvey
 [2010-07-20 06:26 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=301412
Log: Fix bug #52380 (Typo in lcfirst comment docs) by updating the commented
prototype for lcfirst() to actually read lcfirst().
 [2010-07-20 06:27 UTC] aharvey@php.net
-Status: Assigned +Status: Suspended
 [2010-07-20 06:27 UTC] aharvey@php.net
Fixed on trunk. Will MFH once the 5.2.14 and 5.3.3 releases are out.
 [2010-07-23 11:02 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=301482
Log: MFH: fix bug #52380 (Typo in lcfirst comment docs).
 [2010-07-23 11:02 UTC] aharvey@php.net
-Status: Suspended +Status: Closed
 [2010-07-23 11:02 UTC] aharvey@php.net
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 07:01:28 2024 UTC