Rotate solutions

Rotate was solved using PHP by 8 contestants. Solution sizes: average 2735 bytes (shortest: 1527; longest: 4377).