Skip to Content
Menu

Deprecated

is_os()

Compare the user’s operating system.

PHP April 1, 2021

Deprecated

Usage

PHP
nebula()->is_os($os, $version, $comparison)

Parameters

$os
(Required) (String) The operating system
Default: None

$version
(Optional) (Integer) The OS version number
Default: None

$comparison
(Optional) (String) The comparison
Default: "=="

Parameter Notes

Not passing a version number will compare the name only.

See compare_operator() for valid parameters.

Request or provide clarification »

Was this page helpful? Yes No


    A feedback message is required to submit this form.


    Please check that you have entered a valid email address.

    Enter your email address if you would like a response.

    Thank you for your feedback!