<?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>";
}
?>
PD9waHAgCiAgICBmb3IoJGM9MSwkYT0xOyRhPD0zOyRhKyspIHsKICAgIGZvcigkYj0xOyRiPD0zOyRiKyspIHsgCiAgICBpZigkYyE9JGIpIAogICAgIHsgZWNobyAkYzsgfSAKICAgICBlbHNlIHsgZWNobyAiMCI7IH0gCiAgICAgIH0gJGMtLTsgCiAgICAgZWNobyAiPGJyPiI7IAogICAgIH0KICAgID8+