Php array diff. Массив php. php_function(array_reverse). echo "$array[1] went to $array[3]";.