0

Initialize function in variables or in array

$funcTest = function(var1=null){ return time() }

1st Sep 2018, 12:08 PM
Vladimir Kiselyov
Vladimir Kiselyov - avatar
2 Answers
1st Sep 2018, 12:14 PM
Potato Squad
Potato Squad - avatar
+ 1
by the way you need to change var1 to $var1
1st Sep 2018, 12:20 PM
Potato Squad
Potato Squad - avatar