• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
Menu
0

Initialize function in variables or in array

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

functions
1st Sep 2018, 12:08 PM
Vladimir Kiselyov
Vladimir Kiselyov - avatar
2 Antworten
+ 1
https://code.sololearn.com/wiC4nWL9YP5z/?ref=app If i understand you
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

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Is this realistic enough?
2 Votes
"Which is harder to master — Machine Learning or Cybersecurity? And why?"
1 Votes
Need friends
0 Votes
"What’s the best way to combine creativity and coding? Can storytelling improve web apps?"
1 Votes
I am a beginner, please teach me how to use Python
0 Votes
MASS N NUMBER OF OBJECT DELETION FROM A CLASS
0 Votes
Web Development
0 Votes
Please complete this code.
0 Votes
Can u learn multiple language at the same time, without misplacing the formats of each with the other
0 Votes
Can someone please explain python for me
0 Votes