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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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-2019 The PHP Group
All rights reserved.
Last updated: Sun Dec 08 16:01:24 2019 UTC