Re: Re: PHP Brain Teasers

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

 



On Fri, 2007-07-13 at 01:59 -0500, Richard Lynch wrote:
> On Thu, July 12, 2007 10:20 am, Daniel Brown wrote:
> > On 7/12/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:
> >> Geeee... must be nice, some of us had to toil 18 hours a day
> >> sweeping
> >> chimneys!
> >>
> >> ;)
> >>
> >> Cheers,
> >> Rob.
> >
> >     What do you mean "us"?  Weren't you born before they invented the
> > chimney?
> 
> <?php
>   $when = array('uphill', 'in', 'the', 'snow');
>   $age = time() - mktime(0, 0, 0, 0, 0, mt_rand(10, 50);

It's missing a bracket after mt_rand( :)

But more importantly there's an omission of the concept of "both
ways" ;)

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