Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions
Util Class Reference

Public Member Functions

 getTrimmedPhpVersion ()
 

Detailed Description

Definition at line 10 of file Util.php.

Member Function Documentation

◆ getTrimmedPhpVersion()

getTrimmedPhpVersion ( )

Return PHP version without optional suffix Scheme: major.minor.release

Returns
string

Definition at line 17 of file Util.php.

18  {
19  return implode('.', [PHP_MAJOR_VERSION, PHP_MINOR_VERSION, PHP_RELEASE_VERSION]);
20  }

The documentation for this class was generated from the following file: