PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Ali YILMAZ   PHP Get OS Name   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Get OS Name
Get the current user machine operating system name
Author: By
Last change:
Date: 2 years ago
Size: 652 bytes
 

Contents

Class file image Download

What is getOS ?

It is used to obtain the server operating system name on which the project is running. It supports Darwin, Windows, Linux operating systems, other operating systems are named Unknown.

Out-of-class use:

code:

require_once('Mind.php');
$m = new Mind();
echo $m::aliyilmaz('getOS')->getOS();

When using it in the class:

code:

self::aliyilmaz('getOS')->getOS();

output:

Linux

Dependencies

This package has no dependencies.

License

Instructions and files in this directory are shared under the GPL3 license.