[thelist] PHP Challenge

Ken Robinson kenrbnsn at rbnsn.com
Fri Nov 25 13:52:17 CST 2005


Quoting Matt Warden <mwarden at gmail.com>:

> Aaron,
>
> On 11/25/05, Aaron Wormus <aaron at wormus.com> wrote:
>>
>> |$sResult .= $b{$i};|

[snip]

> 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.
>

There's also a built in functions that can be used to take a string and 
convert
it into an array.

Take a look at <http://www.php.net/str_split>

The manual describe using curly brackets and strings in
<http://us3.php.net/manual/en/language.types.string.php> in and around Example
11-5.

Ken




More information about the thelist mailing list