Re: Re: PHP Brain Teasers

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

 



On 6/26/07, Dan <frozendice@xxxxxxxxx> wrote:
How are we going to respond to these?  Should we answer or just kepe them to
ourselves.


SPOILER**************

Answer: Many a mickle makes a muckle?

"Colin Guthrie" <gmane@xxxxxxxxxxxxxx> wrote in message
news:f5s1ff$mbt$1@xxxxxxxxxxxxxxxx
> Daniel Brown wrote:
>>    What the hell?  Why not start a thread that can be fun and
>> challenging for all of us.
>
> How about this:
>
> <?php
>
> define('MONY', 20);
>
> $mickle = 0
> while(++$mickle)
> {
>  if (MONY == $mickle)
>  {
>    echo "Muckle";
>    exit;
>  }
> }
>
> ?>
>
> It's a bit more obscure ;)

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



   It should be fun either way, even if it's a spoiler (though I
didn't know the "muckle" phrase), because then everyone can look back
through the code anyway.

--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

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