Re: Re: JavaScript conversion to PHP code...

From: Date: Tue, 27 Jul 2004 17:08:22 +0000
Subject: Re: Re: JavaScript conversion to PHP code...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-191991@lists.php.net to get a copy of this message
Good thinking... I like without the substr() because substr() take more time than we want it to be.... FletchSOD "Matt M." <h.dudeness@gmail.com> wrote in message news:7d45802004072614375f97299a@mail.gmail.com... > > --snip-- > > $char_code = strpos($char_set,(substr($input,$loop,1))); > > --snip-- > > even a little shorter > > $char_code = strpos($char_set,$input{$loop});

« previous php.general (#191991) next »