[PHP] List of Variables
Hi, is there any way to get a list of all defined variables? It is intended to be used to get and identify all defined objects to call some costum decunstructor at the scripts end. Thanks! Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] List of Variables
print_r(get_defined_vars()); On Fri, 2003-06-27 at 09:07, Thomas Weber wrote: Hi, is there any way to get a list of all defined variables? It is intended to be used to get and identify all defined objects to call some costum decunstructor at the scripts end. Thanks! Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The Cryptocomm Group -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] List of Variables
$GLOBALS Thomas Weber wrote: Hi, is there any way to get a list of all defined variables? It is intended to be used to get and identify all defined objects to call some costum decunstructor at the scripts end. Thanks! Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] List of Variables
Yea thanks, we must have been blind when searching the php-docs ;) Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] - Original Message - From: Adam Voigt [EMAIL PROTECTED] To: Thomas Weber [EMAIL PROTECTED] Cc: PHP-List [EMAIL PROTECTED] Sent: Friday, June 27, 2003 3:09 PM Subject: Re: [PHP] List of Variables print_r(get_defined_vars()); On Fri, 2003-06-27 at 09:07, Thomas Weber wrote: Hi, is there any way to get a list of all defined variables? It is intended to be used to get and identify all defined objects to call some costum decunstructor at the scripts end. Thanks! Thomas 'Neo' Weber --- [EMAIL PROTECTED] [EMAIL PROTECTED] -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The Cryptocomm Group -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php