PHP zip_entry_name library method

The PHP zip_entry_name() function is used to retrieve the name of a file or directory from a specified Zip Archive Entry and it returns the compression method type only if success otherwise a PHP warning.