Posted by Jasper Bryant-Greene on 03/28/05 01:49
Rasmus Lerdorf wrote:
> Jasper Bryant-Greene wrote:
>> You can't access string offsets with square brackets [] in PHP5. You
>> need to use curly braces {} instead.
>
> Not sure where you got that idea. This is not true.
>
> -Rasmus
Actually, it is. See the following URL:
http://www.php.net/manual/en/language.types.string.php#language.types.string.substr
Best regards
--
Jasper Bryant-Greene
Cabbage Promotions
www: www.cabbage.co.nz
email: jasper@cabbage.co.nz
phone: 021 232 3303
public key: Jasper Bryant-Greene <jasper@cabbage.co.nz> keyID 0E6CDFC5
fingerprint: 2313 5641 F8F6 5606 8844 49C0 1D6B 2924 0E6C DFC5
Navigation:
[Reply to this message]
|