Edit report at http://bugs.php.net/bug.php?id=48767&edit=1

 ID:                 48767
 Updated by:         sala...@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] sala...@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] sala...@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] sala...@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] sala...@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

Reply via email to