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