public function getLoops()
    {
        if ($this->netscapeExtension) {
            $loops = substr($this->netscapeExtension, 14, 2);
            $loops = unpack('C', $loops)[1];

            return $loops;
        }

        return null;
    }
public function getLoops()
    {
        if ($this->netscapeExtension) {
            $loops = substr($this->netscapeExtension, 14, 2);
            $loops = unpack('C', $loops)[1];

            return $loops;
        }

        return null;
    }
public function getLoops ( ) { if ( $ this -> netscapeExtension ) { $ loops = substr ( $ this -> netscapeExtension , 14 , 2 ) ; $ loops = unpack ( 'C' , $ loops ) [ 1 ] ; return $ loops ; } return null ; }
Returns loops of animation

@return integer|null
Returns loops of animation