array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'es', ), 'this' => array ( 0 => 'function.strtolower.php', 1 => 'strtolower', ), 'up' => array ( 0 => 'ref.strings.php', 1 => 'Funciones de strings', ), 'prev' => array ( 0 => 'function.strtok.php', 1 => 'strtok', ), 'next' => array ( 0 => 'function.strtoupper.php', 1 => 'strtoupper', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'es', 'path' => 'reference/strings/functions/strtolower.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
strtolower — Convierte un string a minúsculas
Devuelve un string
con todos los caracteres alfabéticos
convertidos a minúsculas.
Note que "alfabético" está determinado por la ubicación actual. Esto significa que por ejemplo, en la localidad "C" predeterminada, los caracteres como la diéresis-A (Ä) no serán convertidos.
string
El string de entrada.
Devuelve el string en minúsculas.
Ejemplo #1 Ejemplo de strtolower()
<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtolower($str);
echo $str; // Imprime mary had a little lamb and she loved it s
?>
Nota: Esta función es segura binariamente.