note 103340 rejected from class.splfileobject by thiago
| From: | thiago@php.net | Date: | Fri, 08 Apr 2011 04:10:48 +0000 |
| Subject: | note 103340 rejected from class.splfileobject by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-178623@lists.php.net to get a copy of this message | ||
Note Submitter: rubs33 at gmail dot com
----
I want to register my surprise about this class. There are some project decisions that seems strange
for me:
* Many methods prefixed with "f" (with the same name of old PHP functions). Why fgets
could not be simply "getLine"?
* fstat method in a class that extends SplFileInfo. Why?
* CSV specific methods could be in an specific class that extends SplFileObject.