Re: PHP Brain Teasers

From: Date: Tue, 03 Jul 2007 14:46:46 +0000
Subject: Re: PHP Brain Teasers
References: 1 2 3 4 5 6 7 8  Groups: php.general 
Request: Send a blank email to php-general+get-258137@lists.php.net to get a copy of this message
On 7/3/07, Robert Cummings <robert@interjinn.com> wrote:
On Tue, 2007-07-03 at 10:36 -0400, Daniel Brown wrote:
    A similar one:
<? function sing($ignore) {
        echo "It's a song!\n";
} (float) $bus; $bus = 14.750; while($wheels = round($bus,2)) {
        sing($wheels);
} ?> Well when you say it like that... you trigger my kid friendly singing side that I picked up while bringing my son to playgroup :)
Ha! Kids will do that to ya', that's for sure! -- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107

« previous php.general (#258137) next »