Declare function before use | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Declare function before use

In c++ or python we must declare function before use it. In PHP it's not necessary: we can use a function and declare it thereafter. Are there others languages like PHP in this case? Thx

25th Nov 2017, 11:08 AM
S K Lurk //\●●/\\
S K Lurk //\●●/\\ - avatar
1 Answer
+ 1
java and javascript.
25th Nov 2017, 11:14 AM
Momo Belia
Momo Belia - avatar