Bug #70530 [Fbk->Opn]: php_uname function output wrong information

From: Date: Mon, 21 Sep 2015 18:51:25 +0000
Subject: Bug #70530 [Fbk->Opn]: php_uname function output wrong information
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196143@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70530&edit=1 ID: 70530 User updated by: khaweronline at gmail dot com Reported by: khaweronline at gmail dot com Summary: php_uname function output wrong information -Status: Feedback +Status: Open Type: Bug Package: PHP options/info functions Operating System: Win 10 32 Bit PHP Version: 5.6.11 Block user comment: N Private report: N New Comment: Please check these screenshots this may help http://s4.postimg.org/56qohkwwd/sc1.jpg http://s21.postimg.org/4qmzrr5ef/sc2.jpg Previous Comments: ------------------------------------------------------------------------ [2015-09-21 11:39:34] ab@php.net I've just tried, specifically downloaded 5.6.11 and what i see on my box is > php -n -r "echo php_uname();" Windows NT PHP-DEV 10.0 build 10240 (Windows 10) AMD64 So not sure what could be strange. Build 9200 is indeed from some Win 8 and Server 2012 series. It was also used in some early technical previews, which made it to be recognized as win8. Any chance you use some technical preview still? And, do you use the official PHP binaries? Thanks. ------------------------------------------------------------------------ [2015-09-20 09:18:46] khaweronline at gmail dot com I am using Windows 10 Pro 32 bit and PHP 5.6.11 ------------------------------------------------------------------------ [2015-09-20 00:35:36] requinix@php.net See also bug #69642 You're sure you're using 5.6.11 and not, say, 5.6.10? And are you running 32- or 64-bit? ------------------------------------------------------------------------ [2015-09-19 16:27:12] khaweronline at gmail dot com Updated Version ------------------------------------------------------------------------ [2015-09-19 16:21:55] khaweronline at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=70530&edit=1

« previous php.bugs (#196143) next »