Hello Derick,
Sunday, August 14, 2005, 12:47:46 PM, you wrote:
> On Sat, 13 Aug 2005, Andrei Zmievski wrote:
>> On Aug 13, 2005, at 5:37 PM, Jani Taskinen wrote:
>>
>> > -Inf
>> >
>> > We're talking about cleaning up legacy stuff, not creating new, aren't
>> > we? :)
>> > And iirc, using [] for strings has been "deprecated" for ages now.
>>
>> Not really. [] and {} compile to exactly the same thing, actually.
> Might be true, but the manual lists this for years already:
> http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing.complex
So if we stick to the docs then [] == arrays, {} == strings and we're happy.
Best regards,
Marcus
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php