php_uname

It returns information about the operating system PHP is running on

Example

<?php
echo php_uname();
?>

Ouput

Linux phpcodez-System-Product-Name 2.6.35-22-generic #35-Ubuntu SMP Sat Oct 16 20:36:48 UTC 2010 i686

Share