What would be the best way to reverse the order of a string so for instance,
\'Hello everybody in stackoverflow\'
becomes
\
Try this:
$s = 'Hello everybody in stackoverflow'; echo implode(' ', array_reverse(explode(' ', $s)));