hi folks,
is there a way for unsetting an global variable from an function ?
global $var; unset ( $var );
does not work since, unset only removes the reference in from
local namespace. but i need to remove it from the global one.
any chance to do it ?
~-n
--
Enrico Weigelt==
Try unset($GLOBALS[var]);
Best regards,
Andrey Hristov
- Original Message -
From: Enrico Weigelt [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 28, 2002 9:44 AM
Subject: [PHP] unsetting global variables from an function
hi folks,
is there a way for unsetting
2 matches
Mail list logo