Re: Popquiz...

From: Date: Thu, 12 Jul 2001 16:54:25 +0000
Subject: Re: Popquiz...
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-57609@lists.php.net to get a copy of this message
"Elias" <elias_bachaalany@yahoo.com> wrote in message news:20010712073451.33841.qmail@pb1.pair.com... > How you mean *in it's original form* ? > > "Lasse" <lm@nospam.dk> wrote in message > news:20010711215154.98633.qmail@pb1.pair.com... > > ..Or call it a riddle.. Whatever... :-) > > > > What did the following code look like in it's original form? > > > > function bitdef($prefix, $name, $bitnum) > > { > > define($prefix."B_".$name, $bitnum); > > define($prefix."F_".$name, 1 << $bitnum); > > } Well, it's about as accurate a conversion of the original as it can be in PHP... People who knew/know the original should be able to recognise it... :-) Basically the question is if anyone can guess how his looked before I converted it to PHP... :-) -- Lasse

« previous php.general (#57609) next »