Hi,
I need to get the value of a variable which i use inside a function after calling this function i need this variabale value. But i am confuse it not working .. this is not my work but a litle example explain my need.
<?php
function addFive( $num )
{
$num += 5;
$test="this is testing";
print $test;
}
$orignum = 10;
addFive( $orignum );
print( $orignum );
print $test;
?>
as when i call the function through
addFive( $orignum );
it work and value of $test print but after this i also want this value out side of the function..
is there any way to get $test value out side the function....?