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