Bug #70530 [NEW]: php_uname function output wrong information

From: Date: Sat, 19 Sep 2015 16:21:56 +0000
Subject: Bug #70530 [NEW]: php_uname function output wrong information
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196088@lists.php.net to get a copy of this message
From: khaweronline at gmail dot com Operating system: Win 10 PHP version: 5.6Git-2015-09-19 (Git) Package: *General Issues Bug Type: Bug Bug description:php_uname function output wrong information Description: ------------ I am using Win 10 and PHP 5.6.11. When i echo php_uname() it provided me wrong information about my OS. Instead of showing Windows 10 Professional Edition, PHP showed me Windows 8 Professional Edition. Test script: --------------- <?php echo php_uname(); ?> Expected result: ---------------- Windows NT TESTSVR-PC 6.2 build 9200 (Windows 10 Professional Edition) i586 Actual result: -------------- Windows NT TESTSVR-PC 6.2 build 9200 (Windows 8 Professional Edition) i586 -- Edit bug report at https://bugs.php.net/bug.php?id=70530&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70530&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70530&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70530&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=70530&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=70530&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=70530&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=70530&r=needscript Try newer version: https://bugs.php.net/fix.php?id=70530&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=70530&r=support Expected behavior: https://bugs.php.net/fix.php?id=70530&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=70530&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=70530&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=70530&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70530&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=70530&r=dst IIS Stability: https://bugs.php.net/fix.php?id=70530&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=70530&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=70530&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=70530&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=70530&r=mysqlcfg

« previous php.bugs (#196088) next »