public function getYear()
    {
        if ($this->year === null) {
            $match = [];
            preg_match(self::$REGEX_YEAR, $this->output, $match);
            $this->year = (int)(array_key_exists(2, $match) ? $match[2] : 0);
        }

        return $this->year;
    }
public function getYear()
    {
        if ($this->year === null) {
            $match = [];
            preg_match(self::$REGEX_YEAR, $this->output, $match);
            $this->year = (int)(array_key_exists(2, $match) ? $match[2] : 0);
        }

        return $this->year;
    }
public function getYear ( ) { if ( $ this -> year === null ) { $ match = [ ] ; preg_match ( self :: $ REGEX_YEAR , $ this -> output , $ match ) ; $ this -> year = ( int ) ( array_key_exists ( 2 , $ match ) ? $ match [ 2 ] : 0 ) ; } return $ this -> year ; }
Return the year ID3 field from an mp3 file.

@return int
Return the year ID3 field from an mp3 file .