<?php
    function answer($question)
    {
        $words=preg_split("/[\040\077]/", $question);
        if(preg_match("/\170/i", $question))
            return ("$words[1]\040$words[2]\040".answer($words[0]).answer("$words[0]\040".answer($words[0])));
        elseif (preg_match("/^\167\150\157/i", $question))
        {
            if (preg_match("/^\167\150\157\040\147\165\171\163+/i", $question))
                return ("$words[0]\040\167\162\151\164\145\040".answer("\167\150\141\164"));
            else
                return ("\147\165\171\163\040");
        }
        elseif (preg_match("/^\167\150\141\164$/i", $question))
            return (answer("\167\150\151\143\150")."\040\141\154\147\157\162\151\164\150\155\163\n");
        else
            return("\162\145\143\165\162\163\151\166\145");
    }

    function pr($str)
    {
        return ("\074\160\162\145\076".$str."\074\057\160\162\145\076\n");
    }

    $answer=answer("who chix dig?");
    $res=pr($answer);
    print($res);
    exit(0);

    # who chix dig code
    # written 2001 by piotr korba tomczyk
    # originally answered by richard sprague
    # empower your web site with asp kicking php (http://www.php.net)
?>