[ create a new paste ] login | about

Link: http://codepad.org/yTZDhRyz    [ raw code | output | fork ]

PHP, pasted on Aug 2:
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;
}


Output:
1
RajithaRajithaYour username is  tobaco


Create a new paste based on this one


Comments: