Wi Phiki

Another ShortestWikiContest contender, heavily influenced by SigWik. Written to prove that also PHP can be as short and unreadable as Perl.

  1. chars of PHP and Shell on 4 lines.

Features

Quick instructions

  1. Save the code e.g. as wiphiki.php
  2. chmod the directory 0777
  3. Start the built-in PHP server
  4. Navigate to localhost:8000/HomePage to get started.

Code

.$p`
&header("Location:$p");$n=`cat .$p`;echo preg_replace('~htt\S+|([A-Z]\w+){2,}~'
,'$0',`ls -t|head`."

$p

$n"),"

\n