- var_dump: documentation ( source)
- preg_match_all: documentation ( source)
<?php
$html = '<li>
Size: <a href="/data/9c1c06557b088a84f6d4379f0d9d535a.jpg">155 KB</a>
(750x1050)
</li>';
preg_match_all("/\sSize:\s<a\shref=\"(?P<image>[^\"]+)\"/", $html, $pmimage);
var_dump($pmimage);