Mega Code Archive

 
Categories / Php / Language Basics
 

Scope of a Variable

<?php   $a = "asdf";   function music (){       $a = "Music is great";   }   print $a; ?>