Re: PHP Brain Teasers

From: Date: Tue, 03 Jul 2007 22:14:31 +0000
Subject: Re: PHP Brain Teasers
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-258206@lists.php.net to get a copy of this message
Daniel Brown wrote:
On 7/3/07, Jay Blanchard <jblanchard@pocket.com> wrote:
[snip]
Another...(way easy)
    Y'think?  Heh.
$one = "six"; $other = "half-dozen";
[/snip] function esquireEliminate($x){
        unset($x);
} $lawyers = 1000000000; for($i = 0; $i < $lawyers; $i++){ eliminateEsquire($i); } Shakespeare has his day in code!
Ha! Nice.... "The first thing we do, let's kill all the lawyers."
Except that code technically copies all the lawyers and then kills the copy. But that's probably being over-pedantic. -Stut -- http://stut.net/

« previous php.general (#258206) next »