Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 7.2.5 #13

Open
songwutk opened this issue May 22, 2018 · 2 comments
Open

PHP 7.2.5 #13

songwutk opened this issue May 22, 2018 · 2 comments

Comments

@songwutk
Copy link

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

@samacs
Copy link
Owner

samacs commented May 22, 2018

@samacs
Copy link
Owner

samacs commented May 22, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants