getid3_lyrics3::Lyrics3Timestamp2Seconds

Advertisement

Syntax Syntax

getid3_lyrics3::Lyrics3Timestamp2Seconds( string $rawtimestamp )

Parameters Parameters

$rawtimestamp

(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