Can anyone help me with a solution that pulls the position and value of a random character from a given string using PHP. For example I have a a string variable $string = \
More internal overhead, but easy to read:
$str = 'helloworld'; $randChar = $str[array_rand(str_split($str))];