private static function fetch_images($urls_to_fetch, &$images, $mode)
{
// Use FasterImage when able/PHP version supports it (it contains a closure that could not be ported to 5.2).
if ('synchronous' === $mode || false === function_exists('curl_multi_exec') || strnatcmp(phpversion(), '5.3.0') < 0) {
self::fetch_images_via_fast_image($urls_to_fetch, $images);
} else {
self::fetch_images_via_faster_image($urls_to_fetch, $images);
}
}