Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php ref parameter

function foo(&$val){
	$val++;
}

$a = 5;
foo($a);
//$a -> 6
 
PREVIOUS NEXT
Tagged: #php #ref #parameter
ADD COMMENT
Topic
Name
8+9 =