1 2 3 4 5 6 7 8 9
<?php function hello($name) { $name= 'hello '.$name; return $name; } $tname="trofun"; echo hello($tname); ?>
1
hello trofun