<?for($p="rwx";$i<512;printf("%04o is %s ",$i++,$o))for($b=sprintf("%09b",$i),$o="-",$j=-1;++$j<9;)$o.=$b[$j]?$p[$j%3]:'-';
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page