2010/9/10 Frederic Hardy <frederic.ha...@mageekbox.net> > 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 bails.". >>> Can i have more information about that ? >>> >>> >> The issue there was with a property with NULL as "name". A PDO test >> stumbled over this issue. >> >> > So, the syntax ->{} is now not supported by PHP ? > > defining properties with null name $this->{} = 'foo'; is not supported, but it was allowed by a mistake, now it got fixed. but any not null variable substitution can and will work.
Tyrael