exif_imagetype

  • (PHP 4 >= 4.3.0, PHP 5, PHP 7)
  • Determine the type of an image