PHP REF PARAMATER
function foo(&$val){
$val++;
}
$a = 5;
foo($a);
//$a -> 6
Talented Teira
function foo(&$val){
$val++;
}
$a = 5;
foo($a);
//$a -> 6