Re: PHP Brain Teasers

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

 



Daniel Brown wrote:
On 7/3/07, Jay Blanchard <jblanchard@xxxxxxxxxx> 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/

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