Beta
PHP function image_type_to_mime_type() has 1 argument:

&imagetype required

Full syntax: image_type_to_mime_type(&imagetype)

See PHP documentation: http://php.net/image_type_to_mime_type

Share the knowledge your way

Please wait while checking