Date: 08/28/00
- Next message: Martin Samesch: "[PHP-DOC] cvs: phpdoc /de/functions oracle.xml"
- Previous message: Daniel Beckham: "Re: [PHP-DOC] Contribution to new HOWTO - editing w/ VIM"
- Next in thread: Andrei Zmievski: "[PHP-DOC] cvs: phpdoc /en/functions info.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ssb Mon Aug 28 15:29:18 2000 EDT
Modified files:
/phpdoc/en/functions info.xml
Log:
* added docs for php_uname()
Index: phpdoc/en/functions/info.xml
diff -u phpdoc/en/functions/info.xml:1.24 phpdoc/en/functions/info.xml:1.25
--- phpdoc/en/functions/info.xml:1.24 Mon Aug 28 03:55:36 2000
+++ phpdoc/en/functions/info.xml Mon Aug 28 15:29:18 2000
@@ -984,7 +984,7 @@
<funcsynopsis>
<funcprototype>
<funcdef>string <function>php_sapi_name</function></funcdef>
- <paramdef>void</paramdef>
+ <void/>
</funcprototype>
</funcsynopsis>
<simpara>
@@ -1003,6 +1003,38 @@
else
print "You are not using CGI PHP\n";
</programlisting>
+ </example>
+ </para>
+ </refsect1>
+ </refentry>
+
+ <refentry id="function.php-uname">
+ <refnamediv>
+ <refname>php_uname</refname>
+ <refpurpose>
+ Returns information about the operating system PHP was built on
+ </refpurpose>
+ </refnamediv>
+ <refsect1>
+ <title>Description</title>
+ <funcsynopsis>
+ <funcprototype>
+ <funcdef>string <function>php_sapi_name</function></funcdef>
+ <void/>
+ </funcprototype>
+ </funcsynopsis>
+ <simpara>
+ <function>Php_uname</function> returns a string with a description
+ of the operating system PHP is built on.
+ </simpara>
+ <para>
+ <example>
+ <title><function>php_uname</function> Example</title>
+ <programlisting role="php">
+if (substr(php_uname(), 0, 7) == "Windows") {
+ die("Sorry, this script doesn't run on Windows.\n");
+}
+</programlisting>
</example>
</para>
</refsect1>
- Next message: Martin Samesch: "[PHP-DOC] cvs: phpdoc /de/functions oracle.xml"
- Previous message: Daniel Beckham: "Re: [PHP-DOC] Contribution to new HOWTO - editing w/ VIM"
- Next in thread: Andrei Zmievski: "[PHP-DOC] cvs: phpdoc /en/functions info.xml"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

