`$phar` will be unset automatically when the function returns