| php-manual.net |
|
| Home | PHP Manual auf Deutsch | PHP Manual in English | PHP manuel le sur le français | Impressum |
php_uname(PHP 4 >= 4.0.2, PHP 5) php_uname — Returns information about the operating system PHP is running on Beschreibung
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. Parameter Liste
RückgabewerteReturns the description, as a string. Beispiele
Example#1 Some php_uname() examples
<?phpThere are also some related Predefined PHP constants that may come in handy, for example: Example#2 A few OS related constant examples
<?php |