Gen. partnerAlgotech

PHP funkce strspn()

Finds the length of the first segment of a string consisting

|
11. září 2019

Dostupnost ve verzích: PHP 4.0

Finds the length of the first segment of a string consisting

Parametry

Parametr Datový typ Výchozí hodnota Poznámka
$subject string není The string to examine.
$mask string není The list of allowable characters to include in counted segments.
$start int null, The position in subject to start searching.
$length int null The length of the segment from subject to examine.

int

the length of the initial segment of str1 which consists entirely of characters in str2.

Další zdroje

Oficiální dokumentace funkce strspn

Načítání komentářů...

Zůstaňte v obraze

Přihlaste se k odběru našeho newsletteru a získejte nejnovější informace o kybernetické bezpečnosti přímo do vaší e-mailové schránky.

Vaše údaje jsou v bezpečí. Newsletter můžete kdykoliv odhlásit.