<?php
str php_uname ( str $mode = "a" )
where,
$mode = Single character that defines
the returned information
( SEE the below TABLE )
?>
NAME | MODE |
a | This is the default. Contains all modes in the sequence "s n r v m". |
s | Operating system name |
n | Host name |
r | Release name |
v | Version information. Varies a lot between operating systems |
m | Machine type |
ed48 |
<?php
echo php_uname('a');
?>
<?php
echo php_uname('rvm');
?>