php_uname(PHP 4 >= 4.0.2, PHP 5) php_uname — Returns information about the operating system PHP is running on Описание
string php_uname
([ string $mode
] )
php_uname() returns a description of the operating system PHP is running on. For the name of just the operating system, consider using the PHP_OS constant, but be reminded this constant will contain the operating system PHP was built on. On Unix, the output reverts to displaying the operating system information PHP was built on if it cannot determine the currently running OS. Список параметров
Возвращаемые значенияReturns the description, as a string. Примеры
Пример #1 Some php_uname() examples
<?phpThere are also some related Predefined PHP constants that may come in handy, for example: Пример #2 A few OS related constant examples
<?php |
|