Rscheearch at Cmabrigde Uinervtisy

In September of 2003, an email began circulating about reading research at Cambridge University.

Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.

The email continues to circulate to this day. Snopes has a page about it and a guy named Mike Davis (who works at Cambridge) wrote about it, too. I thought it would be fun to make a page that lets you type whatever you'd like, then gives you a scrambled version to see if you can still read it. Doesn't that sound like fun??!!! :-)


"; echo "

Scrambled text, can you read it??

\n"; echo "

"; foreach($source_array as $key => $value) { if(strlen($value)>3) { $length = strlen($value); $start = substr($value,0,1); $end = substr($value,$length-1,1); if($end=="," || $end=="." || $end=="!" || $end==";" || $end=="?") { $punctuation = $end; $end = substr($value,$length-2,1); $mid = substr($value,1,$length-3); } else { $mid = substr($value,1,$length-2); $punctuation = ""; } $mid = str_shuffle($mid); $value = $start.$mid.$end.$punctuation; } echo $value." "; } echo "

"; ?>