lib/Type/TypeIff.php
protected function getIffSignature($data)
	{
		$signature = substr($data, 0, self::LONG_SIZE);

		// Check if image is IFF
		if ($signature !== self::IFF_HEADER_AMIGA && $signature !== self::IFF_HEADER_MAYA)
		{
			return false;
		}
		else
		{
			return $signature;
		}
	}
protected function getIffSignature($data)
	{
		$signature = substr($data, 0, self::LONG_SIZE);

		// Check if image is IFF
		if ($signature !== self::IFF_HEADER_AMIGA && $signature !== self::IFF_HEADER_MAYA)
		{
			return false;
		}
		else
		{
			return $signature;
		}
	}
protected function getIffSignature ( $ data ) { $ signature = substr ( $ data , 0 , self :: LONG_SIZE ) ; // Check if image is IFF if ( $ signature !== self :: IFF_HEADER_AMIGA && $ signature !== self :: IFF_HEADER_MAYA ) { return false ; } else { return $ signature ; } }
Get IFF signature from data string

@param string|bool $data Image data string

@return false|string Signature if file is a valid IFF file, false if not
Get IFF signature from data string