title: Detecting SVG image in PHP
body: <p>Using PHP, I'd like to check if a uploaded image is in jpg, gif, png, or svg format.  I found exif_imagetype function could check the file format, but it does not support svg format.  Is there any way to detect svg format in PHP?</p>