From:             [EMAIL PROTECTED]
Operating system: 
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  php_uname - not the build os, but the running os

Description:
------------
Is this note correct?

vbhackattack at hotmail dot com 24-Mar-2003 05:17

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



-- 
Edit bug report at http://bugs.php.net/?id=25186&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25186&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25186&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25186&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25186&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25186&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25186&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25186&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25186&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25186&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25186&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25186&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25186&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25186&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25186&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25186&r=gnused

Reply via email to