A php closure or anonymous function is used to create function without specifying its name.
Is it possible to call them without assigning to identifier as we do in J
Doesn't look like it, as they still have to be declared with the function() {}
notation, and on my 5.3.2 install, trying your sample notion returns an unexpected '('
syntax error. The doc page on closures doesn't mention it either.
Maybe it'll become possible once they patch up the parser to allow somefunction()[2]
array dereferencing.