I use PHP_OS constant and I want to know what it can return on differents OS.
I found this :
Can anyone tell me what they get with them configurations ? On Solaris, Windows XP...
Just for the record... I'm running on Windows XP and this is what's returned:
PHP_OS
: WINNT
php_uname('s')
: Windows NT
UPDATE: The same on Windows 7.
Try php_uname for retrieving operating system information
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With