Req #49041 [Opn->Bgs]: SplFileObject has no fread
| From: | jani@php.net | Date: | Wed, 24 Nov 2010 14:16:26 +0000 |
| Subject: | Req #49041 [Opn->Bgs]: SplFileObject has no fread | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-156393@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=49041&edit=1
ID: 49041
Updated by: jani@php.net
Reported by: stas at zend dot com
Summary: SplFileObject has no fread
-Status: Open
+Status: Bogus
Type: Feature/Change Request
-Package: Feature/Change Request
+Package: *General Issues
Operating System: *
PHP Version: 5.3.0
Block user comment: N
Private report: N
New Comment:
Duplicates go boom.
Previous Comments:
------------------------------------------------------------------------
[2009-09-16 10:41:46] christian dot ubu at gmail dot com
Duplicate there: http://bugs.php.net/bug.php?id=36289
Having a SplBinaryFileObject class would be awesome.
------------------------------------------------------------------------
[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/bug.php?id=49041&edit=1