function phutil_utf8_hard_wrap($string, $width)Arcanist Technical Documentation ()
function phutil_utf8_hard_wrap($string, $width)
Arcanist Technical Documentation ()
Hard-wrap a block of UTF-8 text with no embedded HTML tags and entities.
Parameters
string | $string | A non HTML string |
int | $width | Width of the hard-wrapped lines |
Return
list | List of hard-wrapped lines. |
- Defined
- src/utils/utf8.php:631