#49041 [Com]: SplFileObject has no fread
| From: | christian dot ubu at gmail dot com | Date: | Wed, 16 Sep 2009 10:41:46 +0000 |
| Subject: | #49041 [Com]: SplFileObject has no fread | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-142407@lists.php.net to get a copy of this message | ||
ID: 49041
Comment by: christian dot ubu at gmail dot com
Reported By: stas at zend dot com
Status: Open
Bug Type: Feature/Change Request
Operating System: *
PHP Version: 5.3.0
New Comment:
Duplicate there: http://bugs.php.net/bug.php?id=36289
Having a SplBinaryFileObject class would be awesome.
Previous Comments:
------------------------------------------------------------------------
[2009-07-23 21:23:44] stas at zend dot com
Description:
------------
While SplFileObject has many functions that mimic stream's interface,
including fseek, ftell, fwrite, fgets and fscanf, it does not have fread
for some reason - so it is not possible to read specific number of bytes
from the object.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49041&edit=1