Oihana PHP

isLinux.php

Table of Contents

Functions

isLinux()  : bool
Indicates if the OS system is Linux.

Functions

isLinux()

Indicates if the OS system is Linux.

isLinux() : bool
Tags
example
use function oihana\core\env\isLinux;

if ( isLinux() )
{
    echo "Linux environment\n";
}
author

Marc Alcaraz (ekameleon)

since
1.0.0
Return values
bool

true if running on Linux, false otherwise


        
On this page

Search results