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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: toddw at activestate dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Apr 10 23:01:29 2025 UTC