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. 参数
范例
There are also some related Predefined PHP constants that may come in handy, for example: | |||