Re: PHP 6.0 Wishlist
| From: | Marcus Boerger | Date: | Sun, 14 Aug 2005 10:54:21 +0000 |
| Subject: | Re: PHP 6.0 Wishlist | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-18049@lists.php.net to get a copy of this message | ||
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