I can't get global and local scops.. and how they get called | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I can't get global and local scops.. and how they get called

31st Oct 2016, 7:35 PM
ahmad zare
ahmad zare - avatar
2 Answers
0
variables declared outside a method but inside the class has global scope can be accessed anywhere inside the class. but variables declared inside the method has local scope only and can be accessed only inside the class.
2nd Nov 2016, 7:54 AM
Sukrity Shrivastava
Sukrity Shrivastava - avatar
0
use HTML tag "</br>" in echo
7th Nov 2016, 10:13 AM
Anand Tripathi
Anand Tripathi - avatar