On Wed, 8 May 2019 at 08:41, Stephen Reay <php-li...@koalephant.com> wrote:
> > Isn’t this exactly what SplFileObject / SplFileInfo::openFile is for? SplFileObject does not expose the underlying filehandle, so it can't be used with any of the other PHP functions that expect a file handle. It's not safe to expose the filehandle, as none of the SplFileObject code checks for the file handle still being valid. cheers Dan Ack -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php