Re: I think that "Function naming inconsistency" bug deservers more attention

From: Date: Mon, 28 Jan 2013 13:16:29 +0000
Subject: Re: I think that "Function naming inconsistency" bug deservers more attention
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-65245@lists.php.net to get a copy of this message
> +1 from that, fortunately since it's an extension it won't be subject to a > vote, you can use it or not. :) The core seems to be heavily protected by > the core developers. As an APC user, I would be also fine with an extension :-) @pierre Would it be possible to get windows builds from nikita's repo? Regards, Thomas On Mon, Jan 28, 2013 at 1:06 PM, Clint Priest <cpriest@zerocue.com> wrote: > > On 1/28/2013 2:09 AM, Christian Stoller wrote: >> >> In userland we can only do something like >> $str = new String('my_string_class'); >> echo $str->length(); >> >> But that's useless. >> It would be great if method calls on primitive types could be supported, >> like in Nikic' proof of concept (https://github.com/nikic/scalar_objects). >> >> $str = 'my_string_class'; >> echo $str->length(); >> >> I would really like to see that in PHP. It's not only a nicer and shorter >> way to code but it would also be a solution for the function naming >> inconsistency ;-) > > > +1 from that, fortunately since it's an extension it won't be subject to a > vote, you can use it or not. :) The core seems to be heavily protected by > the core developers. > >> Best regards >> Christian >> > -- > -Clint > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#65245) next »