0
Initialize function in variables or in array
$funcTest = function(var1=null){ return time() }
2 Answers
+ 1
https://code.sololearn.com/wiC4nWL9YP5z/?ref=app
If i understand you
+ 1
by the way you need to change var1 to $var1
$funcTest = function(var1=null){ return time() }