Req #48767 [Opn->Tbd]: SplFileInfo::getExtension()

From: Date: Sat, 25 Dec 2010 16:07:44 +0000
Subject: Req #48767 [Opn->Tbd]: SplFileInfo::getExtension()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-157316@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=48767&edit=1 ID: 48767 Updated by: salathe@php.net Reported by: helmertz at gmail dot com Summary: SplFileInfo::getExtension() -Status: Open +Status: To be documented Type: Feature/Change Request -Package: Feature/Change Request +Package: SPL related Operating System: All PHP Version: 5.3.0 -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: Committed a few days ago. Tagged as TBD. Merry Christmas. Previous Comments: ------------------------------------------------------------------------ [2010-12-24 08:29:03] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=306609 Log: NEWS for FR #48767 (SplFileInfo::getExtension()) ------------------------------------------------------------------------ [2010-12-23 23:32:55] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=306593 Log: Implemented FR #48767 (SplFileInfo::getExtension()) ------------------------------------------------------------------------ [2010-11-25 14:09:51] salathe@php.net The following patch has been added/updated: Patch Name: getextension-trunk Revision: 1290690591 URL: http://bugs.php.net/patch-display.php?bug=48767&patch=getextension-trunk&revision=1290690591 ------------------------------------------------------------------------ [2010-11-17 22:34:53] salathe@php.net The following patch has been added/updated: Patch Name: splfileinfo-getextension-trunk Revision: 1290029692 URL: http://bugs.php.net/patch-display.php?bug=48767&patch=splfileinfo-getextension-trunk&revision=1290029692 ------------------------------------------------------------------------ [2009-07-02 06:57:20] helmertz at gmail dot com Description: ------------ SplFileInfo::getExtension() should be alias for pathinfo($file, PATHINFO_EXTENSION), to put as much functionality in classes as possible. Reproduce code: --------------- --- From manual page: class.splfileinfo --- $file = new SplFileInfo('monkey.gif'); echo $file->getExtension(); Expected result: ---------------- gif Actual result: -------------- Sorry but I don't get this box, I'm too noob. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=48767&edit=1

« previous php.bugs (#157316) next »