php_uname

Supported Versions: PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8
Returns information about the operating system PHP is running on
<?php php_uname(string $mode = "a"): string
<?php                 Composer::getVersion(),

                Composer::RELEASE_DATE,

                defined('HHVM_VERSION') ? 'HHVM '.HHVM_VERSION : 'PHP '.PHP_VERSION,

                function_exists('php_uname') ? php_uname('s') . ' / ' . php_uname('r') : 'Unknown OS'

            ), true, IOInterface::DEBUG);



            if (PHP_VERSION_ID < 70205) {
<?php             $options['http']['header'][] = sprintf(

                'User-Agent: Composer/%s (%s; %s; %s; %s%s%s)',

                Composer::getVersion(),

                function_exists('php_uname') ? php_uname('s') : 'Unknown',

                function_exists('php_uname') ? php_uname('r') : 'Unknown',

                $phpVersion,

                $httpVersion,
<?php                 'User-Agent: Composer/%s (%s; %s; %s; %s%s%s)',

                Composer::getVersion(),

                function_exists('php_uname') ? php_uname('s') : 'Unknown',

                function_exists('php_uname') ? php_uname('r') : 'Unknown',

                $phpVersion,

                $httpVersion,

                $platformPhpVersion ? '; Platform-PHP '.$platformPhpVersion : '',