$s = "The lazy dog jumped over the fox"; $a = explode(" ",$s); $a = array_reverse($a); echo implode(" ", $a);
</code>
</code>