How do I interpret the output of php_uname
问题 From the manual I got the information: mode is a single character that defines what information is returned: 'a': This is the default. Contains all modes in the sequence "s n r v m". 's': Operating system name. eg. FreeBSD. 'n': Host name. eg. localhost.example.com. 'r': Release name. eg. 5.1.2-RELEASE. 'v': Version information. Varies a lot between operating systems. 'm': Machine type. eg. i386. So I created a function function interpret_php_uname(){ $release_info["os_name"] = php_uname('s')