note 30617 rejected from function.php-uname by didou

From: Date: Tue, 21 Oct 2003 07:25:15 +0000
Subject: note 30617 rejected from function.php-uname by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58964@lists.php.net to get a copy of this message
Note Submitter: vbhackattack@hotmail.com ---- According to the source code for this function (/ext/standard/info.c), the description is not correct. The function returns information about the operating system PHP is _running_ on, not built on. For example, if PHP was build on Win2000 but is running on WinXP, the function should report a version number appropriate for WinXP. I have not tested this, just read the source code which calls the WinAPI function GetVersion() or the *nix function uname() at _run_ time. John

« previous php.notes (#58964) next »