The pattern argument is case sensitive. Example:<?php$input = \Imagick::queryformats('PNG*');?>The PNG* will be included PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8(Reference https://www.geeksforgeeks.org/php-imagick-queryformats-function/ )If you enter png* then it will be return nothing.