atom feed193 messages in net.php.lists.internalsRe: [PHP-DEV] 5.4 again
FromSent OnAttachments
Stas MalyshevMay 8, 2011 4:40 pm 
Rasmus LerdorfMay 8, 2011 8:30 pm 
Ferenc KovacsMay 9, 2011 12:40 am 
Stas MalyshevMay 9, 2011 12:49 am 
Stefan MarrMay 9, 2011 1:00 am 
Ferenc KovacsMay 9, 2011 1:01 am 
Ferenc KovacsMay 9, 2011 1:03 am 
Stas MalyshevMay 9, 2011 1:37 am 
guil...@gmail.comMay 9, 2011 7:44 am 
Martin ScottaMay 9, 2011 8:50 am 
Richard QuadlingMay 9, 2011 9:13 am 
Philip OlsonMay 9, 2011 9:17 am 
Rasmus LerdorfMay 9, 2011 9:43 am 
Stas MalyshevMay 9, 2011 9:54 am 
Marcelo GornsteinMay 9, 2011 9:54 am 
Alessandro NadalinMay 9, 2011 10:01 am 
Stas MalyshevMay 9, 2011 10:05 am 
Lester CaineMay 9, 2011 10:12 am 
Marcelo GornsteinMay 9, 2011 10:19 am 
Andi GutmansMay 9, 2011 10:20 am 
Matthew Weier O'PhinneyMay 9, 2011 10:21 am 
Derick RethansMay 9, 2011 10:21 am 
Andi GutmansMay 9, 2011 10:22 am 
guil...@gmail.comMay 9, 2011 10:25 am 
Christopher JonesMay 9, 2011 10:27 am 
Stas MalyshevMay 9, 2011 10:30 am 
guil...@gmail.comMay 9, 2011 10:31 am 
Andi GutmansMay 9, 2011 10:32 am 
Rasmus LerdorfMay 9, 2011 10:38 am 
Ferenc KovacsMay 9, 2011 10:43 am 
guil...@gmail.comMay 9, 2011 10:44 am 
guil...@gmail.comMay 9, 2011 10:47 am 
guil...@gmail.comMay 9, 2011 10:50 am 
Rasmus LerdorfMay 9, 2011 10:53 am 
guil...@gmail.comMay 9, 2011 11:07 am 
Stas MalyshevMay 9, 2011 11:13 am 
Stas MalyshevMay 9, 2011 11:35 am 
Ferenc KovacsMay 9, 2011 11:39 am 
guil...@gmail.comMay 9, 2011 11:52 am 
Stefan MarrMay 9, 2011 12:33 pm 
Lester CaineMay 9, 2011 2:41 pm 
dukeofgamingMay 9, 2011 3:00 pm 
Ilia AlshanetskyMay 9, 2011 3:09 pm 
Andi GutmansMay 9, 2011 3:39 pm 
guil...@gmail.comMay 9, 2011 4:26 pm 
guil...@gmail.comMay 9, 2011 4:29 pm 
Lester CaineMay 9, 2011 5:25 pm 
Stas MalyshevMay 9, 2011 5:35 pm 
guil...@gmail.comMay 9, 2011 5:35 pm 
Ferenc KovacsMay 9, 2011 5:35 pm 
guil...@gmail.comMay 9, 2011 5:55 pm 
Stas MalyshevMay 9, 2011 6:22 pm 
Pierrick CharronMay 9, 2011 8:03 pm 
Mike WillbanksMay 9, 2011 8:42 pm 
Pierrick CharronMay 9, 2011 8:50 pm 
DrakMay 9, 2011 9:09 pm 
Lester CaineMay 9, 2011 10:45 pm 
Pascal COURTOISMay 9, 2011 11:06 pm 
Chad FultonMay 10, 2011 12:01 am 
134 later messages
Subject:Re: [PHP-DEV] 5.4 again
From:guil...@gmail.com (guil@gmail.com)
Date:May 9, 2011 7:44:08 am
List:net.php.lists.internals

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.

Regards,

On Mon, May 9, 2011 at 5:38 AM, Stas Malyshev <smal@sugarcrm.com> wrote:

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.