in reply to
Re: Five Ways to Reverse a String of Words (..., Oz)
in thread Five Ways to Reverse a String of Words (C#, Perl 5, Perl 6, Ruby, Haskell)
no php yet? no respect! ;)
$reversed = implode(' ', array_reverse(explode(' ', $str)));
kept it on one line so the perl guys can understand it :)
By rote learning.
Via Genetic memory.
It's provided by my firmware.
I just remember them.
Thirty days hath September
My computer gets it right, usually.
I just ask someone else.
Someone punches me on the first of the month.
Results (33 votes),