getid3_lib::IncludeDependency

Advertisement

Syntax Syntax

getid3_lib::IncludeDependency( string $filename, string $sourcefile, bool $DieOnFailure = false )

Parameters Parameters

$filename

(Required)

$sourcefile

(Required)

$DieOnFailure

(Optional)

Default value: false

Return Return

(bool)

Source Source

File: wp-includes/ID3/getid3.lib.php

			//$cache[$file][$name][substr($line, 0, $keylength)] = trim(substr($line, $keylength + 1));
			$explodedLine = explode("\t", $line, 2);
			$ThisKey   = (isset($explodedLine[0]) ? $explodedLine[0] : '');
			$ThisValue = (isset($explodedLine[1]) ? $explodedLine[1] : '');
			$cache[$file][$name][$ThisKey] = trim($ThisValue);
		}

		// Close and return
		fclose($fp);
		return (isset($cache[$file][$name][$key]) ? $cache[$file][$name][$key] : '');
	}

	/**
	 * @param string $filename
	 * @param string $sourcefile
	 * @param bool   $DieOnFailure
	 *
	 * @return bool
	 * @throws Exception

Advertisement

Advertisement

Leave a Reply