0
What is the inside and outside
in this code. <?php $name = 'David'; function getName() { echo $name; } getName(); ?>
1 Respuesta
+ 1
name is global variable in this code.. so calling getName will echo the value of that global variable..
I don't know if that what you asked for