curl_close (used in src/Faker/Provider/Image.php) is deprecated as of php 8.5 and non op since php 8.0. A version check could prevent deprecation warnings and future issues.