Documentation

OperatingSystem
in package

Table of Contents

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

Search results