Date: 10/13/00
- Next message: marco eyzaguirre: "[PHP-DB] php - postgresql question (connect)"
- Previous message: bryan: "[PHP-DB] SQL Connection"
- In reply to: Todd Cary: "[PHP-DB] Clearing all variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: marco eyzaguirre: "[PHP-DB] php - postgresql question (connect)"
- Previous message: bryan: "[PHP-DB] SQL Connection"
- In reply to: Todd Cary: "[PHP-DB] Clearing all variables"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

