RE: Re: PHP Brain Teasers

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

 



[snip]
> >> <?
> >> $evil[] = "6";
> >> $evil[] = "6";
> >> $evil[] = "6";
> >> for($i=0;$i<count($evil);$i++) {
> >>     $_ = sqrt($evil);
> >> }
> >> ?>

    It was supposed to be "money is the root of all evil," but the
code above wouldn't work correctly anyway, as each time through the
for() loop it'll try to get the square root of the array.
[/snip]

The actual quote is "the love of money is the root of all evil", so you
need to find the root of love.

-- 
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