getimagesizefromstring

Supported Versions: PHP 5 >= 5.4.0, PHP 7, PHP 8
Get the size of an image from a string
<?php getimagesizefromstring(string $string, array &$image_info = null): array|false