Open songwutk opened 6 years ago
I think that's the expected behavior. See:
You could use http://php.net/manual/fr/function.stream-get-contents.php and https://github.com/guzzle/streams/blob/master/src/LimitStream.php to read a buffered stream. I might give it a roll but if you have the time you could open a PR.
php 7.2.5
PHP Warning: file_get_contents(): stream does not support seeking in simple_html_dom.php on line 90 PHP Warning: file_get_contents(): Failed to seek to position -1 in the stream in simple_html_dom.php on line 90