str_split
symfony/var-dumper
Supported Versions: PHP 5, PHP 7, PHP 8
Convert a string to an array
<?php str_split
(
string $string
,
int $length
=
1
): array