On Thu, Oct 5, 2017 at 6:42 AM, ignace nyamagana butera <nyamsp...@gmail.com> wrote: > Does adding new methods to SplFileObject easier ? It would mean adding a > getMetaData() (to return stream_get_meta_data infos) method and > (append/prepend/remove)Filter methods to add stream filters API. > That's still a hack, and a piecemeal one at that. Danack's approach of creating a proxy stream really is more comprehensive and correct.
-Sara -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php