public static get_images_from_html ( string $html, array $images_already_extracted ) : array | ||
$html | string | Some markup, possibly containing image tags |
$images_already_extracted | array | (just an array of image URLs without query strings, no special structure), used for de-duplication |
Результат | array | Image URLs extracted from the HTML, stripped of query params and de-duped |