How to know what current system is?

From: Date: Mon, 13 Oct 2008 20:43:56 +0000
Subject: How to know what current system is?
Groups: php.general 
Request: Send a blank email to php-general+get-281836@lists.php.net to get a copy of this message
Is there any function do that? when php in Linux it returns linux in windows it returns windows I found phpinfo(INFO_GENERAL); output the string System => Linux ubuntu 2.6.24-19-server. but I have no idea to get that info. Thanks Jiang Miao

« previous php.general (#281836) next »