includes/class-freemius.php
private function get_versions() {
            $versions = array();
            $versions['platform_version']             = get_bloginfo( 'version' );
            $versions['sdk_version']                  = $this->version;
            $versions['programming_language_version'] = phpversion();

            foreach ( $versions as $k => $version ) {
                if ( is_string( $versions[ $k ] ) && ! empty( $versions[ $k ] ) ) {
                    $versions[ $k ] = substr( $versions[ $k ], 0, 16 );
                }
            }

            return $versions;
        }
private function get_versions() {
            $versions = array();
            $versions['platform_version']             = get_bloginfo( 'version' );
            $versions['sdk_version']                  = $this->version;
            $versions['programming_language_version'] = phpversion();

            foreach ( $versions as $k => $version ) {
                if ( is_string( $versions[ $k ] ) && ! empty( $versions[ $k ] ) ) {
                    $versions[ $k ] = substr( $versions[ $k ], 0, 16 );
                }
            }

            return $versions;
        }
private function get_versions ( ) { $ versions = array ( ) ; $ versions [ 'platform_version' ] = get_bloginfo ( 'version' ) ; $ versions [ 'sdk_version' ] = $ this -> version ; $ versions [ 'programming_language_version' ] = phpversion ( ) ; foreach ( $ versions as $ k => $ version ) { if ( is_string ( $ versions [ $ k ] ) && ! empty ( $ versions [ $ k ] ) ) { $ versions [ $ k ] = substr ( $ versions [ $ k ] , 0 , 16 ) ; } } return $ versions ; }
Get a sanitized array with the WordPress version, SDK version, and PHP version.
Each version is trimmed after the 16th char.

@author Vova Feldman (@svovaf)
@since  2.2.1

@return array
Get a sanitized array with the WordPress version SDK version and PHP version . Each version is trimmed after the 16th char .