Martin Scotta
On Mon, May 9, 2011 at 11:44 AM, guilhermebla...@gmail.com < guilhermebla...@gmail.com> wrote: > Hi, > > I'd love if you ever discuss these items for 5.4: > > - ReflectionNamespace > > Currently it's impossible to grab a docblock that documents an > Annotations, for example, or even access the namespace declaration. > It's also impossible to check which "use" is declared on the > namespace/file/class scope. > > - Annotations > > I already proposed a patch and none here discussed. You rather > preferred to shout "PHP doesn't need Annotations" instead of discuss > the patch that was proposed. > Actually, it was proposed twice, but it seems that you only looked at > first one (which I agree that was incompatible with PHP way of being). > Pierrick and I updated the patch to be as similar as possible with PHP > structure, but none here even looked at it. For those interested: > https://github.com/adoy/PHP-Annotations > > - SplArray > > We currently support SplInt, SplString, SplFloat, SplBool, etc. We > could support SplArray which would perfectly enhance implementations > that need to keep track of array state. Currently PHP provides 0 > support on this area, and it would be nice if it provides a helpful > API to it. One good example to look at is: > > https://github.com/doctrine/common/blob/master/lib/Doctrine/Common/Collections/Collection.php > > - Comparable > > Since operators overloading on PHP is hard to be implemented natively, > we could easily support it through OO. This idea can be extensively > discussed, but someone already proposed a patch previously any none > discussed it. > > > PS: I think that internals mailing list should be revised with all > proposed ideas and wrap them on a better plan. > It seems to me that you are not interested on user's request and > rather accept/implement only what the features that interest you. It's > very bad for the language and very bad for all of users. > Totally agree. a user. > > > Regards, > > On Mon, May 9, 2011 at 5:38 AM, Stas Malyshev <smalys...@sugarcrm.com> > wrote: > > Hi! > > > >> I see the array shortcuts are on your todo discussion list there. We > >> probably shouldn't get into a full discussion on that since it will span > >> hundreds of messages. But if any of the folks who voted no last time > >> around have changed their minds, it would be good to know. And before > >> deciding, try using MongoDB from PHP for a couple of weeks. :) > > > > I agree on both discussion point and MongoDB point :) I think for things > > that were already discussed extensively it makes sense to have a vote in > > case people changed their minds and discuss at length only if they have > > something new to say - like proposing new approach to the problem - which > is > > this case probably won't happen. > > -- > > Stanislav Malyshev, Software Architect > > SugarCRM: http://www.sugarcrm.com/ > > (408)454-6900 ext. 227 > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > -- > Guilherme Blanco > Mobile: +55 (16) 9215-8480 > MSN: guilhermebla...@hotmail.com > São Paulo - SP/Brazil > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >