Name

str_split

Synopsis

array str_split(stringstring[, int length])

Splits string into an array of characters, each containing length characters; if length is not specified, it defaults to 1.

Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.