getid3_lyrics3::Lyrics3Timestamp2Seconds

Advertisement

Syntax Syntax

getid3_lyrics3::Lyrics3Timestamp2Seconds( string $rawtimestamp )

Parameters Parameters

$rawtimestamp

(string) (Required)

Return Return

(int|false)

Source Source

File: wp-includes/ID3/module.tag.lyrics3.php

	 */
	public function Lyrics3Timestamp2Seconds($rawtimestamp) {
		if (preg_match('#^\\[([0-9]{2}):([0-9]{2})\\]$#', $rawtimestamp, $regs)) {
			return (int) (($regs[1] * 60) + $regs[2]);
		}
		return false;

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.