|
grapheme_extract(PHP 5 >= 5.3.0, PECL intl >= 1.0.0) grapheme_extract — Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8. ОписаниеПроцедурный стиль
string grapheme_extract
( string $haystack
, int $size
[, int $extract_type
[, int $start = 0
[, int &$next
]]] )
Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8. Список параметров
Возвращаемые значенияA string starting at offset $start and ending on a default grapheme cluster boundary that conforms to the $size and $extract_type specified. ПримерыПример #1 grapheme_extract() example
<?php Результат выполнения данного примера: o%CC%88 Смотрите также
|
|