Calling functions in array index -


short 1 time. why doesn't work?

function identity($x){$x} @(1,2,3)[identity(1)] 

(these work)

identity(1) @(1,2,3)[1] 

you need make execute identity(1) first putting parenthesis.

@(1,2,3)[(identity(1))] 

Comments

Popular posts from this blog

c# - SelectList with Dictionary, add values to the Dictionary after it's assigned to SelectList -

how can i manage url using .htaccess in php? -

ios - I get the error Property '...' not found on object of type '...' -