<?php require_once __DIR__."/../config.php"; require_once SITE_ROOT. "/controllers/SearchController.php"; $search = new SearchController(); $src = "https://www.bbc.com"; $images = $search->followImageLinks($src);
info at phpclasses dot org