1 2 3 4 5 6 7 8 9 10 11
<?php namePrint('Rajitha'); wrap('tobaco'); function wrap($txt){ //global $name; echo "Your username is ".namePrint('Rajitha')." ".$txt.""; } function namePrint($name){ echo $name; }
1
RajithaRajithaYour username is tobaco