From 5f6cfdc748978f8e73e178206ea31b1c374b6041 Mon Sep 17 00:00:00 2001 From: David Coallier Date: Sat, 19 Jan 2008 20:58:12 +0000 Subject: [PATCH] - Added the documentation for lcfirst with basic example - Added crosslinks to strtolower/upper, ucfirst and ucwords - Added crosslinks to lcfirst in ucfirst.xml git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@250918 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/lcfirst.xml | 104 ++++++++++++++++++++++++ reference/strings/functions/ucfirst.xml | 3 +- 2 files changed, 106 insertions(+), 1 deletion(-) create mode 100644 reference/strings/functions/lcfirst.xml diff --git a/reference/strings/functions/lcfirst.xml b/reference/strings/functions/lcfirst.xml new file mode 100644 index 0000000000..0fa9661f05 --- /dev/null +++ b/reference/strings/functions/lcfirst.xml @@ -0,0 +1,104 @@ + + + + + lcfirst + Make a string's first character lowercase + + + + &reftitle.description; + + stringlcfirst + stringstr + + + Returns a string with the first character of + str , lowercased if that character is + alphabetic. + + + Note that 'alphabetic' is determined by the current locale. For + instance, in the default "C" locale characters such as umlaut-a + (ä) will not be converted. + + + + + &reftitle.parameters; + + + + str + + + The input string. + + + + + + + + + &reftitle.returnvalues; + + Returns the resulting string. + + + + + &reftitle.examples; + + + <function>lcfirst</function> example + + +]]> + + + + + + + &reftitle.seealso; + + + ucfirst + strtolower + strtoupper + ucwords + + + + + + + diff --git a/reference/strings/functions/ucfirst.xml b/reference/strings/functions/ucfirst.xml index 18fa739b90..95be77b593 100644 --- a/reference/strings/functions/ucfirst.xml +++ b/reference/strings/functions/ucfirst.xml @@ -1,5 +1,5 @@ - + ucfirst @@ -72,6 +72,7 @@ $bar = ucfirst(strtolower($bar)); // Hello world! &reftitle.seealso; + lcfirst strtolower strtoupper ucwords