(PHP 4 >= 4.0.2, PHP 5, PHP 7)
Returns information about the operating system PHP is running on
string php_uname ([ string $mode = "a" ] )
php_uname() returns a description of the operating system PHP is running on. This is the same string you see at the very top of the phpinfo() output. For the name of just the operating system, consider using the PHP_OS constant, but keep in mind this constant will contain the operatin