<?php error_reporting(0); function f($s){for($i=-($l=strlen($s));$i<$l;$I=abs(++$i)){$t=substr($s,$I);echo str_repeat(' ',$I).strrev($t).substr($t,1)."\n";}} echo "------------\n"; f(" desserts"); echo "------------\n";
You have javascript disabled. You will not be able to edit any code.