<?php
for($c=1,$a=1;$a<=3;$a++) {
for($b=1;$b<=3;$b++) {
if($c!=$b)
{ echo $c; }
else { echo "0"; }
} $c--;
echo "<br>";
}
?>
PD9waHAKICAgIGZvcigkYz0xLCRhPTE7JGE8PTM7JGErKykgewogICAgZm9yKCRiPTE7JGI8PTM7JGIrKykgewogICAgaWYoJGMhPSRiKQogICAgIHsgZWNobyAkYzsgfQogICAgIGVsc2UgeyBlY2hvICIwIjsgfQogICAgICB9ICRjLS07CiAgICAgZWNobyAiPGJyPiI7CiAgICAgfQogICAgPz4=