cvs: phpdoc /en/reference/network versions.xml /en/reference/network/functions gethostname.xml

From: Date: Mon, 25 May 2009 18:36:47 +0000
Subject: cvs: phpdoc /en/reference/network versions.xml /en/reference/network/functions gethostname.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4064@lists.php.net to get a copy of this message
kalle Mon May 25 18:36:47 2009 UTC Added files: /phpdoc/en/reference/network/functions gethostname.xml Modified files: /phpdoc/en/reference/network versions.xml Log: Fixed bug #47839 (upgrade notes need to indicate that gethostname function has been added) aka. Added gethostname() documentation http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/versions.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/network/versions.xml diff -u phpdoc/en/reference/network/versions.xml:1.1 phpdoc/en/reference/network/versions.xml:1.2 --- phpdoc/en/reference/network/versions.xml:1.1 Wed Feb 11 22:20:30 2009 +++ phpdoc/en/reference/network/versions.xml Mon May 25 18:36:47 2009 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <!-- Do NOT translate this file --> @@ -15,6 +15,7 @@ <function name='gethostbyaddr' from='PHP 4, PHP 5'/> <function name='gethostbyname' from='PHP 4, PHP 5'/> <function name='gethostbynamel' from='PHP 4, PHP 5'/> + <function name='gethostname' from='PHP &gt;= 5.3.0'/> <function name='getmxrr' from='PHP 4, PHP 5'/> <function name='getprotobyname' from='PHP 4, PHP 5'/> <function name='getprotobynumber' from='PHP 4, PHP 5'/> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/gethostname.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/network/functions/gethostname.xml +++ phpdoc/en/reference/network/functions/gethostname.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry xml:id="function.gethostname" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>gethostname/refname> <refpurpose>Gets the host name</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>bool</type><methodname>gethostname</methodname> <void /> </methodsynopsis> <para> <function>gethostname</function> gets the standard host name for the local machine. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns a string with the hostname on success, otherwise &false; is returned. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>A simple <function>gethostname</function> example</title> <programlisting role="php"> <![CDATA[ <?php echo gethostname(); // may output e.g,: sandie ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>gethostbyname</function></member> </simplelist> </para> </refsect1> </refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:"../../../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -->

« previous php.doc.cvs (#4064) next »