<?php

$strin = ;


echo .$strin.;


echo .strrev($strin).;


$str_words_reversed = ;
$temp = explode(, $strin);
foreach($temp as $word)
	$str_words_reversed .= strrev($word).;


echo .$str_words_reversed.;



$str_word_order_reversed = ;
$temp = explode(, $strin);
for($i=(count($temp)-1); $i>=0; $i--)
	$str_word_order_reversed .= $temp[$i].;


echo .$str_word_order_reversed.;