PHP » PYTHON |
login |
register |
about
|
php_uname(PHP 4 >= 4.0.2, PHP 5) php_uname — Returns information about the operating system PHP is running on Description
string php_uname
([ string $mode= "a"
] )
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. Parameters
Return ValuesReturns the description, as a string. Examples
Example #1 Some php_uname() examples
<?php
There are also some related Predefined PHP constants that may come in handy, for example: Example #2 A few OS related constant examples
<?php
See Also
|
more
Recently updated
more
Most requested
more
Last requests
|