Re: Re: PHP Brain Teasers

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

 



On Thu, 2007-07-12 at 17:06 +0200, Tijnema wrote:
> On 7/12/07, Daniel Brown <parasane@xxxxxxxxx> wrote:
> > On 7/12/07, Colin Guthrie <gmane@xxxxxxxxxxxxxx> wrote:
> > > Thijs Lensselink wrote:
> > > >> <?
> > > >> $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.
> >
> > > Thank _God_ it's Friday??? Covering all bases are we? ;)
> >
> >    No, I said, "thank God it's ALMOST Friday."  Nothing to do with
> > the puzzle, I'm just exhausted this week for some reason.
> >
> > --
> > Daniel P. Brown
> 
> You can probably remember the good old time of being a child and
> having holiday ;)

Geeee... must be nice, some of us had to toil 18 hours a day sweeping
chimneys!

;)

Cheers,
Rob.
-- 
...........................................................
SwarmBuy.com - http://www.swarmbuy.com

    Leveraging the buying power of the masses!
...........................................................

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