|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patcheswindows-7-version-detect-fix (last revision 2011-07-21 13:29 UTC by xiaomao5 at live dot com)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-07-21 09:31 UTC] xiaomao5 at live dot com
[2011-07-21 10:49 UTC] pajoye@php.net
[2011-07-21 10:50 UTC] pajoye@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: pajoye
[2011-07-21 10:50 UTC] pajoye@php.net
[2011-08-18 20:31 UTC] virsacer at web dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 12:00:01 2025 UTC |
Description: ------------ In PHP 5.3, and of course all version before it, Windows 7 is detected as 6.2, which would be Windows 8, which isn't released. So Windows 7, as 6.1 will turn into Unknow Windows version.(It's also should be Unknown, not Unknow). Test script: --------------- <?php echo php_uname('v'); Expected result: ---------------- build 7601 (Windows 7 Ultimate Edition Service Pack 1) This is from my patch. Actual result: -------------- build 7601 (Unknow Windows version Ultimate Edition Service Pack 1)