<?php $str = 'second third first'; echo substr($str, strrpos($str, " ")+1) . " " . substr($str, 0, strrpos($str, " "));
You have javascript disabled. You will not be able to edit any code.