Re: [PHP-DB] Clearing all variables From: O. (datahntr <email protected>)
Date: 10/13/00

Todd Cary wrote:
>
> Is there a command to clear all PHP variables?
>
> Todd
>

I'm not sure that there's any good reason to have such a command. If you
really wanted to, I'm sure you could play with the $GLOBALS array to
accomplish what you need, ie, unsetting large numbers of variables. In
fact, I've yet to hear of a programming language or scripting language
where there was such a command. PHP releases all resources after it has
executed AFAIK, if that's what you're worried about.

--
O.

-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>