cvs: phpdoc /en/reference/info/functions php-uname.xml
| From: | Rasmus Lerdorf | Date: | Fri, 19 Jun 2009 15:01:51 +0000 |
| Subject: | cvs: phpdoc /en/reference/info/functions php-uname.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4164@lists.php.net to get a copy of this message | ||
rasmus Fri Jun 19 15:01:51 2009 UTC
Modified files:
/phpdoc/en/reference/info/functions php-uname.xml
Log:
Someone at http://www.phpwtf.org/ didn't like our
php_uname docs. :)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/php-uname.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/reference/info/functions/php-uname.xml
diff -u phpdoc/en/reference/info/functions/php-uname.xml:1.15
phpdoc/en/reference/info/functions/php-uname.xml:1.16
--- phpdoc/en/reference/info/functions/php-uname.xml:1.15 Fri Jan 16 16:14:25 2009
+++ phpdoc/en/reference/info/functions/php-uname.xml Fri Jun 19 15:01:51 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<refentry xml:id="function.php-uname" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>php_uname</refname>
@@ -14,15 +14,17 @@
</methodsynopsis>
<para>
<function>php_uname</function> returns a description of the operating
- system PHP is running on. For the name of just the operating system,
- consider using the <constant>PHP_OS</constant> constant, but be
- reminded this constant will contain the operating system PHP was
- <emphasis>built</emphasis> on.
+ system PHP is running on. This is the same string you see at the very
+ top of the <function>phpinfo</function> output. For the name of just
+ the operating system, consider using the <constant>PHP_OS</constant>
+ constant, but keep in mind this constant will contain the operating
+ system PHP was <emphasis>built</emphasis> on.
</para>
<para>
- On Unix, the output reverts to displaying the operating system
- information PHP was built on if it cannot determine the currently
- running OS.
+ On some older UNIX platforms, it may not be able to determine the
+ current OS information in which case it will revert to displaying
+ the OS PHP was built on. This will only happen if your uname()
+ library call either doesn't exist or doesn't work.
</para>
</refsect1>