Hello !
I have seen this comment about ->{} = syntax in log of revision 302923
of trunk :
"PHP has changed (undefined) behaviour from 5.3.2 to 5.3.3: ->{} = ,
which seems to have been never an officially supported syntax and have
never been a valid property name, is no longer allowed and PHP
On Fri, 2010-09-10 at 09:05 +0200, Frederic Hardy wrote:
> Hello !
>
> I have seen this comment about ->{} = syntax in log of revision 302923
> of trunk :
> "PHP has changed (undefined) behaviour from 5.3.2 to 5.3.3: ->{} = ,
> which seems to have been never an officially supported syntax and h
Hello !
I have seen this comment about ->{} = syntax in log of revision 302923
of trunk :
"PHP has changed (undefined) behaviour from 5.3.2 to 5.3.3: ->{} = ,
which seems to have been never an officially supported syntax and have
never been a valid property name, is no longer allowed and PHP ba
2010/9/10 Frederic Hardy
> Hello !
>
>> I have seen this comment about ->{} = syntax in log of revision 302923
>>
>>> of trunk :
>>> "PHP has changed (undefined) behaviour from 5.3.2 to 5.3.3: ->{} = ,
>>> which seems to have been never an officially supported syntax and have
>>> never been a va
>
> [Validation(Email(checkMX=>true))] looks better.
>
> Thanks. Dmitry.
>
Hi Dmitry
The initial syntax proposed in the RFC/Patch is inspired by C#. If you
modify this syntax to remove brackets in nested annotations you will
have some conflicts like this one :
[Validation(Email)]
In this case t
Hi!
[Validation(Email(checkMX=>true))] looks better.
Even here it's not clear what is happening. What is "Validation", what
is "Email", what is "checkMX" (are they all classes? or only some of
them?), what is happening to them (are these classes being instantiated?
when? what is passed as p
Hi Stas,
Annotations is a new concept in PHP (even if some framework already
use an user space implementation of them) and I think it is normal
that people will have to read a little bit about this eventually new
feature before using it. This is the same thing for traits, if you
don't know what is