fork download
  1. <?php
  2.  
  3. bassAckwards("www.google.com.");
  4. function bassAckwards($input)
  5. {
  6. $y=strlen($input);
  7. echo $input[$y-1];
  8. /*$x=explode(".",$input);
  9. for($i=0;$i<5;$i++){
  10. $x[$i]=strrev($x[$i]);
  11. }
  12. $x=implode(",",$x);
  13. return $x;*/
  14. }
  15. ?>
Success #stdin #stdout 0.02s 13112KB
stdin
Standard input is empty
stdout
.