I am not sure if I'm simply missing something, but after installing phpscraper and simply writing this:
<?php require 'vendor/autoload.php'; $web = new \spekulatius\phpscraper; ?>
Brings this error.
Fatal error: Default value for parameters with a class type can only be NULL in .../vendor/symfony/browser-kit/AbstractBrowser.php on line 136
I'm using vanilla php with XAMPP.
I am not sure if I'm simply missing something, but after installing phpscraper and simply writing this:
<?php require 'vendor/autoload.php'; $web = new \spekulatius\phpscraper; ?>
Brings this error.Fatal error: Default value for parameters with a class type can only be NULL in .../vendor/symfony/browser-kit/AbstractBrowser.php on line 136
I'm using vanilla php with XAMPP.