Re: PHP Brain Teasers
| From: | Colin Guthrie | Date: | Tue, 26 Jun 2007 21:46:22 +0000 |
| Subject: | Re: PHP Brain Teasers | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-257814@lists.php.net to get a copy of this message | ||
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 ;)