O'Reilly logo

Programming PHP, 3rd Edition by Peter MacIntyre, Kevin Tatroe, Rasmus Lerdorf

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

php_uname

Synopsis

string php_uname(string mode)

Returns a string describing the operating system under which PHP is running. The mode parameter is a single character used to control what is returned. The possible values are:

a (default)

All modes included (s, n, r, v, m)

s

Name of the operating system

n

The hostname

r

Release name

v

Version information

m

Machine type

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required