On Tue, Jan 06, 2004 at 10:25:30AM -0800, Mark Tlay wrote:
array[*]["method"](); works, but: array[*]->method(); does not work.
try array->method();
I think this should be a bug. Thoughts?
depends how you look at it, it appears that [*] does not work where the the same can not be induced from context.
ie with array->method it is clear that you do not want to call an individual index in the array and only automap makes sense, but with array[foo] it is not clear wether foo is an index or to be automapped, hence the need for [*]
though i agree that for consistency [*] should probably always work. (but i have been known to change my mind once someone explains it)
greetings, martin.