I think this too will fulfill the purpose?
$str="The lazy dog jumped over the fox";
$ex=explode(" ",$str);
$count=count($ex);
for($i=$count;$i>=0;$i--){
echo $ex[$i]; echo " "; }
I think this too will fulfill the purpose?
$ex=explode(" ",$str);
$count=count($ex);
for($i=$count;$i>=0;$i--){
echo $ex[$i];
echo " ";
}