Home > PHP > Function > ID3 > id3_remove_tag()

id3_remove_tag()

id3_remove_tag - Remove an existing ID3 tag

Syntax

bool id3_remove_tag (string $filename, int $version)

Arguments

  • filename - The path to the MP3 file Instead of a filename you may also pass a valid stream resource
  • version - Allows you to specify the version of the tag as MP3 files may contain both, version 1.x and version 2.x tags.

Description

id3_remove_tag() is used to remove the information stored of an ID3 tag.

Version

PHP PECL id3 >= 0.1

Return value

Returns TRUE on success or FALSE on failure.