[PHP-DEV] Re: Reflection annotations reader

2013-01-08 Thread Vladislav Veselinov
Exactly. Annotations just don't belong there. Short syntax for arrays got shut a few times but it finally made it to core. I hope native support will be revisited at some point. On Tuesday, January 8, 2013, Pierre Joye wrote: > hi Stas, > > On Tue, Jan 8, 2013 at 7:28 PM, Stas Malyshev > > > wro

[PHP-DEV] Re: Reflection annotations reader

2013-01-07 Thread Vladislav Veselinov
Hey everybody, I've been following this list for a while (1-2 years) and this is the first message I'm sending. In my oppinion, annotations in docblocks are a bit(a lot) hacky and making it even worse by adding them to core is not the best idea. This is how I think annotations have to look like i

[PHP-DEV] Re: Reflection

2009-05-12 Thread Kalle Sommer Nielsen
Hi Johannes 2009/5/11 Johannes Schlüter : > (re-sending, sorry if this arrives twice) > > Hi, > > This should be low risk as it's a self-contained function and we all est > HEAD ... but I'd prefer not adding anything but bug fixes to 5.3 as it > already took way too long. We can always just merge

[PHP-DEV] Re: Reflection

2009-05-11 Thread Johannes Schlüter
(re-sending, sorry if this arrives twice) Hi, On Mon, 2009-05-11 at 12:34 +0200, Kalle Sommer Nielsen wrote: > 1) ReflectionParameter::getDefaultValue(), was added to HEAD in 2006, > but never merged to a stable branch? I made a backport of the function > to 5.3 [1] which I think we should merge,

[PHP-DEV] Re: Reflection API Injection Mechanism

2007-02-09 Thread Christian Schneider
Jim Wilson wrote: > 1) Is there a way to inject a method into a Class such that future > instantiations of that Class will have the method? For example: > > 2) Is there a way to change a method which already exists, as in by > overwriting it with a new function? I'm looking to do the equivalent