how to convert a string in array in php i.e
$str="this is string";
should be like this
arr[0]=this
arr[1]=is
arr[2]=string
The str_split($str, 3);
splits the string in 3 character word but I need to convert the string after whitespace in an array.