Documentation

OperatingSystem
in package

FinalYes

Table of Contents

Methods

getFamily()  : string
Returns PHP_OS_FAMILY (if defined (which it is on PHP >= 7.2)).

Methods

getFamily()

Returns PHP_OS_FAMILY (if defined (which it is on PHP >= 7.2)).

public getFamily() : string

Returns a string (compatible with PHP_OS_FAMILY) derived from PHP_OS otherwise.

Return values
string

        
On this page

Search results