Re: Friday - Return of Brain Teasers

From: Date: Fri, 05 Oct 2012 20:41:49 +0000
Subject: Re: Friday - Return of Brain Teasers
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-319378@lists.php.net to get a copy of this message
That just sounds like a pun than anything else though. We require new Brainteaser; On 2012-10-05 22:36, Jonathan Sundquist wrote:
It means we require more cowbell. On Fri, Oct 5, 2012 at 3:34 PM, Steven Staples <sstaples@mnsi.net> wrote:
Subject: [PHP] Friday - Return of Brain Teasers
     About five-and-a-half years ago, we had a brainteasers thread going
on[1]. Last year it was briefly resurrected[2], and both times got some good content and dialogue going. So I'd like to reprise the thread in 2012, as well. Those of you connected to me on Facebook (parasane) or Twitter (@oidk) might already have seen it, but a simple
one
to get things rolling:
         <?php require ++$cowbell; ?>
Is this supposed to execute to anything? I got this: Warning: require(1) [function.require]: failed to open stream: No such file or directory in C:\xampp\htdocs\cowbell.php on line 1 Fatal error: require() [function.require]: Failed opening required '1' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\cowbell.php on line 1 -- I do know what it means, just thought maybe there was something more significant to it than this... "Guess what? I got a fever. And the only prescription...is more cow bell" -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#319378) next »