<?php $text = "this is a long test"; $arr = []; $len = strlen($text); for($i = 0; $i < $len; $i++) { $arr[] = $text[$i]; } var_dump($arr);
You have javascript disabled. You will not be able to edit any code.