I wouldn\'t know under what keyword to look for this in the PHP database, so I\'m asking here.
Reason I want to know is because of how different Operating Systems handle
I'd recommend php_uname. Just read the explanation from the docs:
php_uname — Returns information about the operating system PHP is running on
I did like the suggestion of PHP_OS above, but be careful, per this note from the docs:
consider using the PHP_OS constant, but keep in mind this constant will contain the operating system PHP was built on.