php unset reference
snippet in php

php unset reference

user350

$ref = &$var;

unset($ref);