Re: PHP Brain Teasers (SPOILER + new one)

From: Date: Wed, 27 Jun 2007 08:26:38 +0000
Subject: Re: PHP Brain Teasers (SPOILER + new one)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-257833@lists.php.net to get a copy of this message
Robert Cummings wrote: > On Tue, 2007-06-26 at 17:00 -0700, Eric Newberry wrote: >> I think I have to answer to this one: 'If at first you don't succeed try, >> try again'. > > Here's another one... > > <?php > > $x = rand( 1, 2000000000 ); > for( $i = 0; $i < $x; $i++ ); > while( --$i > 0 ); > > ?> "There and back again"? How about: <?php while(2 && "beyond"); ?> Col

« previous php.general (#257833) next »