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
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