Posted by lwoods on 01/09/06 14:59
Thanks, John....
Larry
<john.d.mann@sbcglobal.net> wrote in message
news:P2mwf.72554$tV6.38121@newssvr27.news.prodigy.net...
> lwoods wrote:
>> In PHP you can do this:
>>
>> $x="test";
>> $y=$x{2};
>> echo $y;
>>
>> ....will display "s".
>>
>> Where in the PHP doc is this type of behavior for "curly brackets"
>> defined?
>>
>> TIA,
>>
>> Larry Woods
>
> Try:
> http://www.php.net/manual/en/language.types.string.php
>
> Search for: "Complex (curly) syntax", it's about 1/4 of the way into the
> page.
[Back to original message]
|