Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:52148 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49380 invoked from network); 9 May 2011 15:50:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2011 15:50:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=martinscotta@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=martinscotta@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.42 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: martinscotta@gmail.com X-Host-Fingerprint: 209.85.216.42 mail-qw0-f42.google.com Received: from [209.85.216.42] ([209.85.216.42:41941] helo=mail-qw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FD/27-20726-E4D08CD4 for ; Mon, 09 May 2011 11:50:39 -0400 Received: by qwi4 with SMTP id 4so3517551qwi.29 for ; Mon, 09 May 2011 08:50:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=2CJdUqbeJQsIcXO4Dgw1j7GAL2jkHdE5ujhKydjnf7w=; b=rDisZUYVYO4afdoOPS3HoTF7vY3Hp0wAijfqqDOxpY0sZcQn1QaQorRAZyxe81r8R4 2eLuV1NJOTUbYXy62sBx7x/3dzRi3MjVDr3h1mN540hKAN2MfHFQu4cGn3LV6EvbNPn0 3VmSvd4tIMw8GN2NFl/WmlXE/Y0jzYJxCdKQA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=LSjEX+HlVj7EAwraNALmct8MU5NHrViVDUZ3ToErXsfG9W7Bybwrzl4M7Nn/FCchdL p50nLnt/VAwJIqwt/0DwZ5vs/uaOQL3OT4bp8TbNNTIrn8tXq48FM40in5PiCfSB7rDv 38oDXZNG+C/HD6AYa/Ec64+XsMNerWRwcLZ6M= MIME-Version: 1.0 Received: by 10.52.174.243 with SMTP id bv19mr1153998vdc.93.1304956235138; Mon, 09 May 2011 08:50:35 -0700 (PDT) Received: by 10.220.191.1 with HTTP; Mon, 9 May 2011 08:50:32 -0700 (PDT) In-Reply-To: References: <4DC729EE.9090600@sugarcrm.com> <4DC75FFF.40008@lerdorf.com> <4DC7A7F0.4000504@sugarcrm.com> Date: Mon, 9 May 2011 12:50:32 -0300 Message-ID: To: "guilhermeblanco@gmail.com" Cc: Stas Malyshev , Rasmus Lerdorf , PHP Internals Content-Type: multipart/alternative; boundary=bcaec51a8e0cd7fa1a04a2d9cc56 Subject: Re: [PHP-DEV] 5.4 again From: martinscotta@gmail.com (Martin Scotta) --bcaec51a8e0cd7fa1a04a2d9cc56 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Martin Scotta On Mon, May 9, 2011 at 11:44 AM, guilhermeblanco@gmail.com < guilhermeblanco@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/Collec= tions/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 > 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 sp= an > >> 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 thing= s > > that were already discussed extensively it makes sense to have a vote i= n > > case people changed their minds and discuss at length only if they have > > something new to say - like proposing new approach to the problem - whi= ch > 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: guilhermeblanco@hotmail.com > S=E3o Paulo - SP/Brazil > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --bcaec51a8e0cd7fa1a04a2d9cc56--