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