[thelist] PHP Challenge

Matt Warden mwarden at gmail.com
Fri Nov 25 13:23:21 CST 2005


Aaron,

On 11/25/05, Aaron Wormus <aaron at wormus.com> wrote:
> Matt Warden wrote:
> > Source:
> > http://mwarden.f2o.org/sandbox/viewsource.php?linemode=0&f=interleaveStrings.php
> >
> > Example:
> > interleaveStringsArray( array('FOO', 'evolt', '1234') );
> >
>
> No need to use a regular expression to split the string, just access the
> characters of the string using curly brackets
>
> |$sResult .= $b{$i};|

You used to write Perl, didn't you ;-)

Do you have a location in the manual (or a keyword I could use to find
information) that describes this syntax? I've never seen it before.

Thanks,

--
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.



More information about the thelist mailing list