in reply to The complicated problem

Hahaha.... It's an april fools joke.

I am to translate this PERL script into PHP.
and
if ( $debug ) { use warnings(); use diagnostics(); use CGI(); }
grep
One dead unjugged rabbit fish later...