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

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

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

javascript - Chart.js - setting tooltip z-index -