FINÁLNY VÝPREDAJ KREDITOV na ITnetwork je tu. Využi poslednú šancu a získaj až 80 % extra kreditov ZADARMO na náš interaktívny e-learning. Zisti viac:
Hľadáme nové posily do ITnetwork tímu. Pozri sa na voľné pozície a pridaj sa k najagilnejšej firme na trhu - Viac informácií.

PHP - strtolower

Trieda

Koreň \ Bez triedy

Metóda - strtolower

(PHP 4, PHP 5, PHP 7)

Returns a string where all the alphabetic characters are converted to lowercase.

**Note: ** The function is binary-safe. That means we can pass it binary data as well as text and it'll handle it correctly.

Procedurálne

Parametre

NázovDátový typPredvolená hodnotaPopis
$stringstring

Vstupní řetězec.

Mávratovej hodnoty

Vracia: string

Returns the string in lowercase characters.

Príklady

<?php
$uppercase = "UPPERCASE";
$lowercase = strtolower($uppercase);
echo $lowercase;

Súvisiace manuály

      • function mb_strtolower (string $str, string $encoding = mb_internal_encoding()) : string
      • function ucfirst (string $str) : string
      • function ucwords (string $str, string $delimiters = \t\r\n\f\v) : string
      Aktivity