src/Version.php
private function versionFromBits($bits)
    {
        $version = [];
        foreach (range(0, ($bits - 1)) as $bit) {
            $version[$bit] = $this->getVersionBits()[$bit];
        }
        return $version;
    }
private function versionFromBits($bits)
    {
        $version = [];
        foreach (range(0, ($bits - 1)) as $bit) {
            $version[$bit] = $this->getVersionBits()[$bit];
        }
        return $version;
    }
private function versionFromBits ( $ bits ) { $ version = [ ] ; foreach ( range ( 0 , ( $ bits - 1 ) ) as $ bit ) { $ version [ $ bit ] = $ this -> getVersionBits ( ) [ $ bit ] ; } return $ version ; }
Returns an customised array of the total number of version bits.
@param int $bits The total number of bits (segments) to return.
@return array
Returns an customised array of the total number of version bits .