Re: some thoughts about php 6
| From: | Rowan Collins | Date: | Wed, 29 Jan 2014 23:02:46 +0000 |
| Subject: | Re: some thoughts about php 6 | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-71762@lists.php.net to get a copy of this message | ||
On 29/01/2014 11:22, Kingsquare.nl - Robin Speekenbrink wrote:
If people are really adamant in creating OO versions of string / array functions: nothing stops them from doing that in userspace today.While it's possible to do in *extensions* (as someone else linked to), there's no way you could make anything remotely like this work in userspace: $foo = 'Hello World'; $foo .= '!'; echo $foo->length; I think that's more like what people mean by "OO-style strings". -- Rowan Collins [IMSoP]