cvs: phpdoc /en/reference/strings/functions lcfirst.xml ucfirst.xml

From: Date: Sat, 19 Jan 2008 20:58:12 +0000
Subject: cvs: phpdoc /en/reference/strings/functions lcfirst.xml ucfirst.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-1045@lists.php.net to get a copy of this message
davidc Sat Jan 19 20:58:12 2008 UTC Added files: /phpdoc/en/reference/strings/functions lcfirst.xml Modified files: /phpdoc/en/reference/strings/functions ucfirst.xml Log: - Added the documentation for lcfirst with basic example - Added crosslinks to strtolower/upper, ucfirst and ucwords - Added crosslinks to lcfirst in ucfirst.xml http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/ucfirst.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc/en/reference/strings/functions/ucfirst.xml diff -u phpdoc/en/reference/strings/functions/ucfirst.xml:1.6 phpdoc/en/reference/strings/functions/ucfirst.xml:1.7 --- phpdoc/en/reference/strings/functions/ucfirst.xml:1.6 Wed Jun 20 22:25:31 2007 +++ phpdoc/en/reference/strings/functions/ucfirst.xml Sat Jan 19 20:58:12 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ucfirst"> <refnamediv> <refname>ucfirst</refname> @@ -72,6 +72,7 @@ &reftitle.seealso; <para> <simplelist> + <member><function>lcfirst</function></member> <member><function>strtolower</function></member> <member><function>strtoupper</function></member> <member><function>ucwords</function></member> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/strings/functions/lcfirst.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/strings/functions/lcfirst.xml +++ phpdoc/en/reference/strings/functions/lcfirst.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.lcfirst"> <refnamediv> <refname>lcfirst</refname> <refpurpose>Make a string's first character lowercase</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>string</type><methodname>lcfirst</methodname> <methodparam><type>string</type><parameter>str</parameter></methodparam> </methodsynopsis> <para> Returns a string with the first character of <parameter>str</parameter> , lowercased if that character is alphabetic. </para> <para> Note that 'alphabetic' is determined by the current locale. For instance, in the default "C" locale characters such as umlaut-a (&auml;) will not be converted. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>str</parameter></term> <listitem> <para> The input string. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the resulting string. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title><function>lcfirst</function> example</title> <programlisting role="php"> <![CDATA[ <?php $foo = 'HelloWorld'; $foo = lcfirst($foo); // helloWorld $bar = 'HELLO WORLD!'; $bar = lcfirst($bar); // hELLO WORLD! $bar = lcfirst(strtoupper($bar)); // hELLO WORLD! ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><function>ucfirst</function></member> <member><function>strtolower</function></member> <member><function>strtoupper</function></member> <member><function>ucwords</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 (#1045) next »