Re: Weird Behavior

From: Date: Thu, 21 Oct 2010 10:27:20 +0000
Subject: Re: Weird Behavior
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-308919@lists.php.net to get a copy of this message
On Wed, Oct 20, 2010 at 07:02:49PM -0400, admin@buskirkgraphics.com wrote: > Hmmmmm > > I guess the little person inside, just hates the long way of doing > something. > > > My suggestion > > $CD = 1287583899; > $q1s = 1283313600; > $q1e = 1291093200; > $q2s = 1291179600; > $q2e = 1298869200; > $q3s = 1298955600; > $q3e = 1306814400; > $q4s = 1306900800; > $q4e = 1314763200; > > for($a=1; $a<=4; $a++) > { > $sSQ = "q".$a."s"; > $eSQ = "q".$a."e"; > if(($CD >= $$sSQ) && ($CD <= $$eSQ)){ $qCUR = "$a";} > } > > echo $qCUR; > > The result is 1 > > > > > Richard L. Buskirk There is also a very cool Wikipedia page for more code obfuscation hints: http://en.wikipedia.org/wiki/Obfuscated_code

« previous php.general (#308919) next »