php-os-detector icon indicating copy to clipboard operation
php-os-detector copied to clipboard

Use php_uname() instead of PHP_OS

Open derUli opened this issue 5 years ago • 7 comments

Please note that PHP_OS returns the Operating System where the PHP executable was built. While in most cases this is equally to the runtime OS, this returns an invalid value if the php interpreter was cross built on another Operating System.

http://php.net/manual/de/function.php-uname.php

derUli avatar Feb 18 '19 14:02 derUli