Re: [PHP-DEV] annotations again

2011-05-11 Thread Marcelo Gornstein
is there any chance to add docblocks to arguments in methods and global functions so annotations can be used for them? i.e: public function aMethod(/** @Validate */ UserData $data) { ... } On Wed, May 11, 2011 at 6:57 PM, guilhermebla...@gmail.com wrote: > Hi duke, > > I moved it to rejected in

Re: [PHP-DEV] annotations again

2011-05-09 Thread Marcelo Gornstein
mm i don't remember saying anything like that :) i dont want to start an argument here, but maybe you'd like to take things less personal and re-read my post. anyway, i think it's time to stop just saying "no", and really collaborate with what the community is suggesting (and already propsed) in o

Re: [PHP-DEV] 5.4 again

2011-05-09 Thread Marcelo Gornstein
regarding the annotations stuff: it seems the php community (in general) really wants annotations. lots of important and widely used frameworks use them (meaning that not only the plain php users have a use for this feature, but also the users of the respective frameworks, increasing the overall us

Re: [PHP-DEV] native php annotations

2011-03-14 Thread Marcelo Gornstein
; without comments. This already breaks all suggestions of creating a > PECL extension of docblock parser. > > > > I'd like to see what people think about it and make something "IN" on > next PHP major version. > > > > Cheers, > > On Sun, Mar 13,

Re: [PHP-DEV] native php annotations

2011-03-13 Thread Marcelo Gornstein
> I don't believe the patch was anywhere near an accepted state back then, > sadly. Are you saying there wont be annotations in PHP? Is there any way to contribute to make this feature accepted and available? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://ww

Re: [PHP-DEV] native php annotations

2011-03-13 Thread Marcelo Gornstein
> it has already been discussed with length. Please take a look at: > > http://wiki.php.net/rfc/annotations Thank you for the link. That is actually pretty much what I intended to do. The only difference with my own version lies in the possibility to annotate method parameters (very useful in many

[PHP-DEV] native php annotations

2011-03-13 Thread Marcelo Gornstein
Hello All, I'm new to this list, so please excuse me if this subject was already discussed, or proposed. I've made an experimental patch to ZendEngine/PHP (5.3.5) to allow native annotations (without doc comments), using the token @@ (the @ was already taken). It allows 0 or more annotations (wit