Morse decode by Air Hadoken

<?php $a=array(0,' ',e,t,i,a,n,m,s,u,r,w,d,k,g,o,h,v,f,0,l,0,p,j,b,x,c,y,z,q,85=>'.',115=>',');$c=strtok("1".str_replace(array(" ","/",".","-"),array("//","/1",0,1),fgets(STDIN)),"/");do{echo $a[bindec($c)];}while($c=strtok("/"));?>\x0d

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page