Re: Re: PHP Brain Teasers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jochem Maas wrote:
> three for the price of one, cheap at half the price ...
> 
> for ($me = 1; $you = $me; $me++);
> 
> ----------------
> 
> $u = create_function("\$bond", "if (\$bond < 2) echo \"live\"; else die();")
> $u();$u();$u();

this one here should have been:

$u = create_function("\$bond", "if (\$bond < 3) echo \"live\"; else die();")
$u(1);$u(2);$u(3);

> 
> ----------------
> 
> $I = null; sleep(10); $I = rear(); function rear() {};
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux