PHP reverse array Example


<!DOCTYPE html>
<html>
<body>



<?php
$var="9.86744,53.5437";
$array=explode(',',$var);
$array=array_reverse($array);
echo implode(" ",$array)
?>

</body>
</html>