php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #53449 Case-typo in method name SplFileInfo::getBasename
Submitted: 2010-12-02 10:12 UTC Modified: 2010-12-02 11:28 UTC
From: Simon dot Harhues at zf dot com Assigned: rquadling (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2010-12-02 10:12 UTC] Simon dot Harhues at zf dot com
Description:
------------
---
From manual page: http://www.php.net/splfileinfo.getbasename#Beispiele
---

In the example the method name "getbaseName" is used. Everywere else this method is named "getBasename". Note that different case is used.

The documentation shout be corrected to "getBasename". Maybe it would be even more consistent to rename the method to "getBaseName".


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-12-02 11:23 UTC] rquadling@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: rquadling
 [2010-12-02 11:23 UTC] rquadling@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.
 [2010-12-02 11:28 UTC] rquadling@php.net
Automatic comment from SVN on behalf of rquadling
Revision: http://svn.php.net/viewvc/?view=revision&revision=305901
Log: Correctly case getBasename.
Fixes bug #53449
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 21:00:02 2026 UTC