protected function isVersionNumeric($version)
    {
        foreach (explode('.', $version) as $part) {
            if (!is_numeric($part)) {
                return false;
            }
        }

        return true;
    }
protected function isVersionNumeric($version)
    {
        foreach (explode('.', $version) as $part) {
            if (!is_numeric($part)) {
                return false;
            }
        }

        return true;
    }
protected function isVersionNumeric ( $ version ) { foreach ( explode ( '.' , $ version ) as $ part ) { if ( ! is_numeric ( $ part ) ) { return false ; } } return true ; }
Compute if version is numeric.

@param $version

@return bool
Compute if version is numeric .