$array = explode(' ', $string);
$array = str_split($string);
<?php $realArray = (array) $stdClass; ?>
$str = "Hello world. It's a beautiful day."; print_r (explode(" ",$str));