duzun / hQuery.php

An extremely fast web scraper that parses megabytes of invalid HTML in a blink of an eye. PHP5.3+, no dependencies.
https://duzun.me/playground/hquery
MIT License
361 stars 74 forks source link

There's an error on test #17

Closed bildgee closed 7 years ago

bildgee commented 7 years ago

Fatal error: Using $this when not in object context in C:\xampp\htdocs\scraper\duzun.me_playground_hquery.php on line 13

duzun commented 7 years ago

Thank @bildgee for reporting, my bad, should have noted that this is not intended to be run as is, but is merely source code of my playground, as requested by many people.

I should create more examples so that anyone can run and test how it works.