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